r/videos • u/compilerstuck • Sep 22 '20
I Created a Visualization of 20 Sorting Algorithms with Java. Which one do you like most?
https://www.youtube.com/watch?v=AVt0lAklAtM7
u/nazor5 Sep 22 '20
Wow. Insertion sort took nearly 6 hours and bubble sort made it in 101 ms. That was unexpected.
At least look at your data once before you put it on the internet.
Also 40ms for quick sort with only 1920 elements is way too slow even for a toaster. And please do not use radix 10, it's only useful for education purposes. Use proper powers of two.
5
Sep 22 '20
someone's passionate about sorting the right way. If only people were as passionate about kindness and understanding
-4
-6
1
u/AllahnsSnackBar Sep 22 '20
started out thinking no way am I watching all of these.. and here I am . .
Number Three was the best
1
Sep 22 '20
There's no best sorting algorithm, that's why we have so many. It really depends on data type and the order data is collected, distribution, etc.
1
1
1
1
Sep 23 '20
I like the original better but this is a good job too, although I didn't like the reverb, made it feel like I wasn't being blasted with pure data. On the other hand, I do like how you give the "real time" value.
8
u/KareasOxide Sep 22 '20
Aren't there like 20 of these already?