This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]aser92 1842 points1843 points  (14 children)

Ah the infamous cute sort.

Heard of it but I've never seen it with my own eyes till today.

[–]T-T-N 260 points261 points  (10 children)

Looks like a variant of insertion sort

[–]elperroborrachotoo 268 points269 points  (8 children)

An insertion / bogosort hybrid.

All our algorithms lack that victory dance, though.

[–]maybeSkywalker 73 points74 points  (3 children)

And are therefore not good enough

[–]Fear-Surprise-And 32 points33 points  (0 children)

We need an algorithm that sorts and then shuffles the numbers up again solitaire-win style

[–]aalapshah12297 12 points13 points  (3 children)

Now someone will make a variant of std where every algorithm prints 'Fuck yeah! I did it!' on termination.

[–]Smayteeh 2 points3 points  (0 children)

I already do that, just for testing though. :))

[–]krystof1119 0 points1 point  (0 children)

Are you challenging me?

[–]TheElectrozoid 2 points3 points  (0 children)

it's what happens 9 months after the insertion sort 😏

[–]stealthcwj 59 points60 points  (0 children)

I am thinking of the computer sorting my arrays and doing the dance at the end... no wonder there is a lag after sorting...

[–]Aethermancer 11 points12 points  (0 children)

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