This project provides a visual representation of various sorting algorithms. You can view how algorithms like Bubble Sort, Selection Sort, Merge Sort, Quick Sort, and Insertion Sort work in real-time, with customizable features like array size and sorting speed.
- Visual Representation: The bars represent elements in an array, and their heights change as the sorting algorithms are applied.
- Customizable Options:
- Change the number of bars (array size).
- Adjust the sorting speed.
- Multiple Sorting Algorithms:
- Bubble Sort
- Selection Sort
- Merge Sort
- Quick Sort
- Insertion Sort
- Dynamic Array Generation: You can generate new random arrays for sorting with the click of a button.
You can run the project locally to see the sorting visualizer in action.
- Clone the repository:
git clone https://github.com/yourusername/sorting-visualizer.git
- Open index.html in your browser to run the visualizer locally.
You can try the Sorting Visualizer live by clicking the link below:
Sorting Visualizer - Live Demo