logoalt Hacker News

smegma2yesterday at 5:49 PM0 repliesview on HN

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.