We have learnt sorting algorithms like bubble sort, selection sort, insertion sort, quick sort. But often we fail to understand the core idea of a particular algorithm maybe because we are unable to visualize how they work. So the most important thing to understand about these algorithms is visualization.
Thats why we are making this project to let everyone understand how these algorithms work and through this project you also will get a deep understanding of such sorting algorithms.
- Bubble Sort
- Insertion Sort
- Selection Sort
- Heap Sort
- Control the size of randomly generated array
- Control the visualization speed
- Reset to original unsorted array
- sorting array in ascending or descending order
Here in our webapp, each element value is represented by THE SIZE OF THE BAR and the algorithms sort them by placing the smallest elements on the left and the biggest elements on the right or vica versa.
The algorithms moves the items around by swapping elements, Without using any addational memory with creating another array.
- Control the size of randomly generated array
- Control the visualization speed
- Reset to original unsorted array
- sorting array in ascending or descending order
Clone the project
git clone https://github.com/Siddhantshelake/Sorting-algorithm-visualizer
Go to the project directory
cd Sorting-algorithm-visualizer
visit https://visualize-sorting-siddhant.herokuapp.com/home.html