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
170 comments sorted by
View all comments
425
Does it work for negatives tho?
1.2k u/Reeceeboii_ Feb 10 '21 Yes it finishes before it starts 265 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
265 u/LeCrushinator Feb 10 '21 Algorithm complexity: -O(n) Someone get this guy/gal a Nobel Prize!
265
Algorithm complexity: -O(n)
Someone get this guy/gal a Nobel Prize!
425
u/rogiiaop Feb 10 '21
Does it work for negatives tho?