r/java • 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=AVt0lAklAtM2
Sep 23 '20
Nice job ! Which libraries did you use for :
render graphics ?
sounds effect ?
Thank you for your creativity
2
10
u/-informer- Sep 22 '20
I love sorting visualizations. Never heard of a few of these either, favorite name is definitely Tim sort. Favorite algorithm is probably the double selection sort. And the one I liked watching the most was the gravity sort.
3
7
5
4
u/lukaseder Sep 22 '20
I like how the sort percentage matches my experience with windows progress bars
3
2
u/goldaffe58 Sep 22 '20
Can you explain what I watched?
2
u/alexhdr Sep 23 '20
There are several sort algos that sort (x, y) points by Y, x - axis is index, y - axis is value
2
0
u/turkoid Sep 23 '20
Nice. I actually prefer your visualization over this one implemented in C++ https://www.youtube.com/watch?v=kPRA0W1kECg
12
u/[deleted] Sep 22 '20
I also really enjoyed this. Do you mind sharing the code?