Sorting Algorithm Visualizer Link
Screen.Recording.2023-05-15.at.9.19.48.PM.mov
This React application visualizes different sorting algorithms. It allows the user to choose between four different algorithms: Merge Sort, Quick Sort, Insertion Sort, and Selection Sort. The user can also adjust the speed of the sorting and the number of elements in the array. The bars representing the elements of the array will be animated to show how the selected algorithm sorts the array.
- Clone this repository to your local machine.
- In the project directory, run
npm installto install the required dependencies. - Run
npm startto start the app in the development mode. - Open http://localhost:3000 to view it in the browser.
- Choose the sorting algorithm you want to visualize from the top bar.
- Use the sliders to adjust the number of elements in the array and the sorting speed. The maximum number of elements is 400 and the minimum is 20.
- Click on the "Generate New Array" button to generate a new array with random values.
This project was built with:
- React.js
- JavaScript
- HTML
- CSS
This project was created by Saksham Sharma.