Open ianroberts131 opened 7 years ago
It may be worth adding this to all of the sorting algorithms. At the very least, the "key" (or "legend" if you will) should be implemented as a component that can be used in case other sorting methods that are as difficult to follow as quick sort are requested or implemented.
I will work on this
Feature
Why is this feature being added?
It's currently difficult to tell what the different colors mean in the quick sort animation (orange = less than pivot, purple = greater than pivot).
What should your feature do?
Since there are already labels for 'pivot' and 'prior pivot', more labels could just add to the confusion. This feature should add a simple key below the algorithm that shows what an orange box means and what a purple box means.