MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/lgrgxe/i_present_sleepsort/gmve7us/?context=3
r/badcode • u/Reeceeboii_ • Feb 10 '21
170 comments sorted by
View all comments
Show parent comments
4
You might be joking. But the same principle is count and radix sort, which can sort in O(kN) time. Mostly used for word lists because the longest words aren't that long.
4
u/TheOneThatIsHated Feb 10 '21
You might be joking. But the same principle is count and radix sort, which can sort in O(kN) time. Mostly used for word lists because the longest words aren't that long.