Visualization makes everything easy. This project helps you understand complex sorting algorithms much more easily.
Sorting Visualising
Algorithm selection
Adjustable speed and size
Bubble Sort
Selection Sort
Insertion Sort
Quick Sort
Merge Sort
In this model, each element of array is represented by a bar. The length of a bar depends upon size of corresponding elemnet. The algorithms moves the bars by swapping elements without creating any additional array. The initial bar is represented by "cyan" color. Current compared bars/elements are colored differently. The final sorted bars/elements are represented by "green" color.
Click on Sort Visualizer!
Create a new array/ Adjust the size of array, select desired speed and select desired algorithm to sort. Intitial bars are "cyan" colored.
Different colored bars shows elements of array which are compared!
Final sorted bars/ elements represented by "green" color
BSD 3-Clause License
Copyright (c) 2023, gitcoder-piyush