Coin Change Problem Implementation in Racket/Scheme

后端 未结 0 1671
南方客
南方客 2020-12-01 01:26

I am trying to solve the coin change problem in racket. My idea was to solve it as a tree. For example, the value 10 with coins 1 2 and 5

10
/\\\\
9 8 5
    /         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题