Skip to content

Visualization makes everything easy. This project helps you understand complex sorting algorithms much more easily.

License

Notifications You must be signed in to change notification settings

gitcoder-piyush/Sort-Visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sort-Visualizer

Visualization makes everything easy. This project helps you understand complex sorting algorithms much more easily.

CLICK HERE!!

Features

Sorting Visualising

Algorithm selection

Adjustable speed and size

Algorithms Used

Bubble Sort

Selection Sort

Insertion Sort

Quick Sort

Merge Sort

How It Works?

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.

Screenshots

Click on Sort Visualizer!

Sorting Visualizer by Piyush Mohanty - Google Chrome 2023-02-11 01-44-02

Create a new array/ Adjust the size of array, select desired speed and select desired algorithm to sort. Intitial bars are "cyan" colored.

Screenshot 2023-02-11 013103

Different colored bars shows elements of array which are compared!

Screenshot 2023-02-11 013217

Final sorted bars/ elements represented by "green" color

Screenshot 2023-02-11 013307

License

BSD 3-Clause License

Copyright (c) 2023, gitcoder-piyush

About

Visualization makes everything easy. This project helps you understand complex sorting algorithms much more easily.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published