Count the coins/0-1: Difference between revisions

Content added Content deleted
(The result should be a number)
(More clarifications)
Line 23: Line 23:
;Extra
;Extra


*   Show the result of the same examples when the order you take the coins doesn't matter.
*   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.
*  Show an example of coins you used to reach the given sum by giving the indices of coins you have taken.