3 ms·
Wouldn't the gif for Bogosort be humongous, because it has to try all possible permutations? Maybe this article is just using random noise gif instead for size
by em3rgent0rdr 9y ago
Wouldn't the gif for Bogosort be humongous, because it has to try all possible permutations? Maybe this article is just using random noise gif instead for size concerns.
- anyfoo 9y agoBogosorting an array of the given size would take much longer than the lifetime of our sun. You think the author might not have given us the full gif depicting that sort? I don't know!
- em3rgent0rdr 9y agoright, that is my point! I made my comment because I feel the author was being misleading about just how much a "long time" and by falsely suggesting that the animation he put up for it was real and not just random noise.
- anyfoo 9y agoI feel like he made a joke.
- SeanDav 9y ago> "This is a very important sorting algorithm, though it takes a long time to sort this data." The author is clearly being tongue-in-cheek here and making a bit of a joke!