This project will animate the steps of sorting algorithms. Currently, it can animate 4 different algorithms (bubble sort, selection sort, merge sort, and quick sort).
You can try it out here
-
Drag the slider to change the number of bars
-
Choose a sorting algorithm
-
Click the
Sort
button. Once the animation starts, you can click theStop
button to pause the animation and then clickSort
again to resume it. -
(Optional) You can click
Regenerate
to generate a new array to sort again.
Feel free to fork this project and open a PR once you've done your changes :D.