Hacker News new | past | comments | ask | show | jobs | submit login

The problem goes something like this: You have N number of bags of the same size but different (maybe) weights. You have nothing to write and only balances. The easiest way to sort them is to put them in a row, compare them two by to and swap them in order.



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

Search: