Not yet a member? No problem!
Sign-up just takes a second.
Forgot your password?
Recover it now.
Already signed up?
Log in now.
Forgot your password?
Recover it now.
Not yet a member? No problem!
Sign-up just takes a second.
Remember your password?
Log in now.
4 Comments
CrushBugsays...Wow, I forgot how much Bubble Sort sucks.
makachsays...https://www.toptal.com/developers/sorting-algorithms is good version
shows the exact same as web-apps
siftbotsays...Moving this video to ant's personal queue. It failed to receive enough votes to get sifted up to the front page within 2 days.
oritteroposays...Bubble sort can outrun quicksort on many common input types (almost or completely sorted is very common for instance, and one where bubble sort will always win).
They missed bogosort! It checks if the data is sorted and randomly shuffles the data if not. In the quite common case of already sorted data it will also beat quicksort.
Obligatory xkcd https://xkcd.com/1185/
Wow, I forgot how much Bubble Sort sucks.
Discuss...
Enable JavaScript to submit a comment.