Count the coins/0-1: Difference between revisions

Content added Content deleted
(More clarifications)
No edit summary
Line 25: Line 25:
*   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 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 and their indices.


=={{header|Perl}}==
=={{header|Perl}}==