73
Thanos Sort
(gist.github.com)
Ah, this looks like it's a snap to use.
Oh God no. If I had to use snap to install this, I'll pass.
Then you'll need some heroes to install it, even if they're a bit of a flat pack.
If you have the stones to try it
for i in range(1, len(a)):
if a[i] < a[i-1]:
like_all_things_should_be = False
break
What's going on in Thanos' head in all that B-roll
Is this like the Stalin sort?
Similar principle but O(log(n)) istead of Stalin sorts O(n).
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.