Why is the answer NO for this question? Should it not be YES, as a greedy approach does give us the min number of coins needed.
Why is the answer NO for this question? Should it not be YES, as a greedy approach does give us the min number of coins needed.