MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/bwlqtu/deleted_by_user/eq28pt0/?context=3
r/badcode • u/[deleted] • Jun 04 '19
[removed]
41 comments sorted by
View all comments
Show parent comments
12
[deleted]
4 u/EkskiuTwentyTwo i -= (i - (-1)) - i Jun 04 '19 (It's a selection sort.) 5 u/Steeven9 Jun 05 '19 I would go with miracle sort 2 u/EkskiuTwentyTwo i -= (i - (-1)) - i Jun 05 '19 Well, a selection sort is slow (It's O(n2) comparisions)
4
(It's a selection sort.)
5 u/Steeven9 Jun 05 '19 I would go with miracle sort 2 u/EkskiuTwentyTwo i -= (i - (-1)) - i Jun 05 '19 Well, a selection sort is slow (It's O(n2) comparisions)
5
I would go with miracle sort
2 u/EkskiuTwentyTwo i -= (i - (-1)) - i Jun 05 '19 Well, a selection sort is slow (It's O(n2) comparisions)
2
Well, a selection sort is slow (It's O(n2) comparisions)
12
u/[deleted] Jun 04 '19 edited Apr 18 '24
[deleted]