Skip to content

Implemented visualizer to understand the flow behind the QuickSort Algorithm.

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

Abhi-tech-09/QuickSortVisualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuickSort Visualizer

Hello Everyone!

Welcome, to our QuickSort Visualizer. When we first encountered sorting Algorithms, QuickSort was the first Algo that really fascinated us. But the flow behind the scenes was difficult to visualize since QuickSort uses recursive approach to implement Divide and conquer Technique.

So here is our project QuickSort Visualizer which is a visual representation of how QuickSort Algorithm works behind the scenes.


Tech Used

  • HTML5
  • CSS3
  • Bootstrap
  • p5 JavaScript

Website Demo

https://saketthota.github.io/QuickSortVisualizer/

Blue color indicates the elements in comparision.

Red Color indicates the pivot element.

Green Color indicates the element is in sorted positon.


Custom Inupt

Here you can provide your custom array. The format for input is elements with "," in between. Example : 53,20,11,9.

Random Input

This is an optional field to generate an array with size specified here , and then filled with random elements.

Functionalities

  • Generate Random Array

    If size of array is specified in Random input section, then it generates array of that size .

    Otherwise, It will generate an array of random size filled with random values .

  • Shuffle Array

    Shuffles the elements within the array which is displayed on screen.

  • Visualize

    This is the button(backbone) of the visualizer tool, when clicked visualization get started .

  • Speed

    To control the speed of the visualization , low implies decreament in spped and high implies increment in speed .


References


Contributors

About

Implemented visualizer to understand the flow behind the QuickSort Algorithm.

Topics

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published