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

Bogobogosort (http://www.dangermouse.net/esoteric/bogobogosort.html) would be a good candidate except that it uses random permutation and therefore might not terminate. Maybe if you replaced the random step with a deterministic one that always yielded a not-yet-seen permutation...


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

Search: