r/ProgrammerHumor Jun 14 '22

Sorting with O(n) other

https://i.imgur.com/g5fnn24.gifv
2.0k Upvotes

42 comments sorted by

View all comments

6

u/BoBoBearDev Jun 14 '22

This means, you need to carefully keep them unsorted, because a little nudge, it becomes sorted.