r/badcode •

[deleted by user]

[deleted] — view deleted post

0 Upvotes

41 comments sorted by

View all comments

Show parent comment

2

u/EkskiuTwentyTwo i -= (i - (-1)) - i Jun 05 '19

Well, a selection sort is slow (It's O(n2) comparisions)