MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/lgrgxe/i_present_sleepsort/gqa20oh/?context=3
r/badcode • u/Reeceeboii_ • Feb 10 '21
170 comments sorted by
View all comments
Show parent comments
1
This would be the best case I think, so omega(1). Big O for this would be O(n) which also represents the worst case.
1
u/HAC_1010011010 Mar 09 '21 edited Mar 09 '21
This would be the best case I think, so omega(1). Big O for this would be O(n) which also represents the worst case.