HN Top New Show Ask Jobs

settings

Theme

Hand Mode

Feed

Comment by smegma2

Comment by smegma2 14 hours ago

0 replies

View on Hacker News

There is no greedy solution to the problem. A greedy algorithm would start by taking 3 10-cent coins to make 37 which is wrong.