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

Oh yes, good point: I got carried away; there is a difference! Simplicity is subjective (I think mine is simpler of course :P), but the algorithm in the post is indeed more surprising.


Your algorithm does appear in Section 3.1 of the linked paper by the name "Exchange Sort"




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: