Test some more versions

This commit is contained in:
Folkert Kevelam 2025-05-29 21:59:23 +02:00
parent de4fe423fb
commit 1ec43adeee

View File

@ -102,11 +102,11 @@
(cc amount (- kind-of-coins 1) name)
(cc (- amount (first-denomination kind-of-coins)) kind-of-coins name))))
(def result (cc amount denom "test"))
(def result (cc amount denom "start"))
(dot/write graph "exercise_1_14.gv")
result)
(print (count-change2 11 2))
(print (count-change2 51 5))
# Using the graph we can find the following relation for (cc n 1)
# f(0,1) = 1