-
-
Save Edmundworks/c596cc46a4252d6029f9a7df9463de0f to your computer and use it in GitHub Desktop.
Coin Change
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://leetcode.com/problems/coin-change/description/ | |
cond (> amount min-denom) | |
coin-iter | |
else | |
-1)) | |
define coin-iter | |
if (> amount max-denom | |
(- amount max-denom) | |
define int-process | |
if (> result max-denom | |
(- result max-denom)) | |
if (int-process |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment