Nice Sort Algorithm Animation
A great page that illustrates how data sets from different starting points can be sorted using different sorting algorithms.
https://www.toptal.com/developers/sorting-algorithms
What’s especially interesting is just how different the various algorithms perform in different scenarios. Avoid Insertion, Bubble and Selection sorts for almost all scenarios. The exception to this rule is where the data is almost sorted and Bubble and Selection sorts are optimal.
Anyway, have a play around.
(sorry, I am unable to embed the animation)
Previous Aug 18, 2017
« Java Strings
« Java Strings
Sep 18, 2017 Next
Object Caching »
Object Caching »