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

good point, i never thought of that

i feel like one pass of insertion sort (inserting one item into the sorted run) or selection sort (selecting one minimum or maximum from the unsorted run) would work tho




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

Search: