yes it is different. Coin Denomination Problem [http://haroonsaeed.wordpress.com/2006/06/06/ coin-denomination-problem/] [http://www.seeingwithc.org/ topic1html.html] would give 2000=1000+1000.
Thats not the case with an ATM machine. On Sep 20, 10:21 am, Dufus <rahul.dev.si...@gmail.com> wrote: > Is it different from classic Coin Denomination problem? > > _dufus > > On Sep 19, 11:20 pm, eSKay <catchyouraak...@gmail.com> wrote: > > > > > > > for example: if I draw 2000, what I get is > > 1000+500+100+100+100+100+100. > > > What algorithm can be used to decide how to break up the entered > > amount? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/algogeeks -~----------~----~----~----~------~----~------~--~---