Skip to content

ImranWahidCoder/sorting-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A web application that provides a visual representation of how different sorting algorithms work. The logic for all the sorting algorithms are there in the "algorithms" directory. index.html is the only html file and style.css is the only css file, present in the this project. index.php is meant for deploying purpose.

1. Set the configuration

First the user needs to select the number of bars and control the speed of algorithm execution by moving the slider. Everytime user moves the slider, a random array will be generated. select

2. Initial look

After setting the configuration the array will look like this. The bar heights denote the values of the elements in the array. look

3. Algorithm selection

Once the array is generated, the user can now select the algorithm( whose working he/she wants to visualize ) from the navigation bar

a. Bubble sort

Implementation of bubble sort bubble

b. Insertion sort

Implementation of insertion sort insertion

c. Selection sort

Implementation of selection sort selection

d. Merge sort

Implementation of merge sort merge

d. Quick sort

Implementation of merge sort quick

Final look

When the array is sorted, there will be an alert notifying that the array is sorted ok

You can visit the website :- https://stunning-pastelito-25037d.netlify.app

About

A web application that provides a visual representation of how different sorting algorithms work.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published