MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/lgrgxe/i_present_sleepsort/gmtgs9p/
r/badcode • u/Reeceeboii_ • Feb 10 '21
170 comments sorted by
View all comments
Show parent comment
1
Bogobogosort, then.
3 u/LordHonchkrow Feb 10 '21 Sadly, bogobogosort still involves looking at every element at least once 1 u/sqrt_minusone Feb 10 '21 It's almost like looking at every element is a requirement to sort a collection of elements lol 1 u/LordHonchkrow Feb 11 '21 Hmm, that just sounds like you’re making excuses for your O(2n) sort
3
Sadly, bogobogosort still involves looking at every element at least once
1 u/sqrt_minusone Feb 10 '21 It's almost like looking at every element is a requirement to sort a collection of elements lol 1 u/LordHonchkrow Feb 11 '21 Hmm, that just sounds like you’re making excuses for your O(2n) sort
It's almost like looking at every element is a requirement to sort a collection of elements lol
1 u/LordHonchkrow Feb 11 '21 Hmm, that just sounds like you’re making excuses for your O(2n) sort
Hmm, that just sounds like you’re making excuses for your O(2n) sort
View all comments
Show parent comment
1
u/_szs Feb 10 '21
Bogobogosort, then.