First, yes it's my HW and I find it hard so I'll really appreciate some guidance.
I need to prove that for denomination of 1,x,x2...xn
when x>=1
the greedy algorithm for the coins problem always work .
- We will always get the amount of money we need in minimal coins number when we always pick the maximal coin that smaller from the amount.
Thank you.