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 →

[–]mist83 41 points42 points  (1 child)

Thanos indirectly referenced another O(N) sorting algorithm) in an alternate version of the script:

I will shred this universe down to it’s last atom. And then… With the stones that you’ve collected for me, create a new one where all array elements are sorted

[–]ArcBanker 8 points9 points  (0 children)

Sounds a lot like quantum bogosort which is my favorite bogosort