MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/fjk6u1/sort_algorithm/fkncjkw/?context=3
r/ProgrammerHumor • u/Hamstorian • Mar 16 '20
614 comments sorted by
View all comments
1.8k
Ah the infamous cute sort.
Heard of it but I've never seen it with my own eyes till today.
259 u/T-T-N Mar 16 '20 Looks like a variant of insertion sort 271 u/elperroborrachotoo Mar 16 '20 An insertion / bogosort hybrid.All our algorithms lack that victory dance, though. 75 u/maybeSkywalker Mar 16 '20 And are therefore not good enough 37 u/Fear-Surprise-And Mar 16 '20 We need an algorithm that sorts and then shuffles the numbers up again solitaire-win style → More replies (2) 13 u/aalapshah12297 Mar 16 '20 Now someone will make a variant of std where every algorithm prints 'Fuck yeah! I did it!' on termination. 3 u/Smayteeh Mar 16 '20 I already do that, just for testing though. :)) → More replies (2) 3 u/TheElectrozoid Mar 17 '20 it's what happens 9 months after the insertion sort 😏 59 u/stealthcwj Mar 16 '20 I am thinking of the computer sorting my arrays and doing the dance at the end... no wonder there is a lag after sorting... 14 u/Aethermancer Mar 16 '20 edited Apr 14 '26 If you're reading this, the original post got nuked by Redact. I use it to automatically purge my digital footprint from social networks, people search sites and messaging apps.capable aback spoon soup steep historical snow rock many longing 2 u/Mmffgg Mar 16 '20 Cute sort is nice because it can be used in different environments too
259
Looks like a variant of insertion sort
271 u/elperroborrachotoo Mar 16 '20 An insertion / bogosort hybrid.All our algorithms lack that victory dance, though. 75 u/maybeSkywalker Mar 16 '20 And are therefore not good enough 37 u/Fear-Surprise-And Mar 16 '20 We need an algorithm that sorts and then shuffles the numbers up again solitaire-win style → More replies (2) 13 u/aalapshah12297 Mar 16 '20 Now someone will make a variant of std where every algorithm prints 'Fuck yeah! I did it!' on termination. 3 u/Smayteeh Mar 16 '20 I already do that, just for testing though. :)) → More replies (2) 3 u/TheElectrozoid Mar 17 '20 it's what happens 9 months after the insertion sort 😏
271
An insertion / bogosort hybrid.
All our algorithms lack that victory dance, though.
75 u/maybeSkywalker Mar 16 '20 And are therefore not good enough 37 u/Fear-Surprise-And Mar 16 '20 We need an algorithm that sorts and then shuffles the numbers up again solitaire-win style → More replies (2) 13 u/aalapshah12297 Mar 16 '20 Now someone will make a variant of std where every algorithm prints 'Fuck yeah! I did it!' on termination. 3 u/Smayteeh Mar 16 '20 I already do that, just for testing though. :)) → More replies (2)
75
And are therefore not good enough
37 u/Fear-Surprise-And Mar 16 '20 We need an algorithm that sorts and then shuffles the numbers up again solitaire-win style → More replies (2)
37
We need an algorithm that sorts and then shuffles the numbers up again solitaire-win style
13
Now someone will make a variant of std where every algorithm prints 'Fuck yeah! I did it!' on termination.
3 u/Smayteeh Mar 16 '20 I already do that, just for testing though. :)) → More replies (2)
3
I already do that, just for testing though. :))
it's what happens 9 months after the insertion sort 😏
59
I am thinking of the computer sorting my arrays and doing the dance at the end... no wonder there is a lag after sorting...
14
If you're reading this, the original post got nuked by Redact. I use it to automatically purge my digital footprint from social networks, people search sites and messaging apps.
capable aback spoon soup steep historical snow rock many longing
2
Cute sort is nice because it can be used in different environments too
1.8k
u/aser92 Mar 16 '20
Ah the infamous cute sort.
Heard of it but I've never seen it with my own eyes till today.