Count the coins/0-1: Difference between revisions
More clarifications
(The result should be a number) |
(More clarifications) |
||
Line 23:
;Extra
* Show the result of the same examples when the order you take the coins doesn't matter. For instance the answer is 3 when coins = [1, 2, 3, 4, 5] and sum = 6.
* Show an example of coins you used to reach the given sum by giving the indices of coins you have taken.
|