Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: