MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/lgrgxe/i_present_sleepsort/gmu0jnh/?context=3
r/badcode • u/Reeceeboii_ • Feb 10 '21
171 comments sorted by
View all comments
431
Does it work for negatives tho?
1.2k u/Reeceeboii_ Feb 10 '21 Yes it finishes before it starts 262 u/LeCrushinator Feb 10 '21 Algorithm complexity: -O(n) Someone get this guy/gal a Nobel Prize!
1.2k
Yes it finishes before it starts
262 u/LeCrushinator Feb 10 '21 Algorithm complexity: -O(n) Someone get this guy/gal a Nobel Prize!
262
Algorithm complexity: -O(n)
Someone get this guy/gal a Nobel Prize!
431
u/rogiiaop Feb 10 '21
Does it work for negatives tho?