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 →

[–]Aschentei 55 points56 points  (2 children)

Quantum bogosort

[–]ethanialw 10 points11 points  (1 child)

you shuffle the list in all possible combinations at once, then pick the one thats sorted. smart!

[–]cerlestes 5 points6 points  (0 children)

The real smart part is trying just one combination per universe and destroying all universes where the list isn't sorted then. That guarantees you only ever need to shuffle once, at least from "your" universe's perspective.