Skip to content

Latest commit

 

History

History
94 lines (53 loc) · 2.41 KB

README.md

File metadata and controls

94 lines (53 loc) · 2.41 KB

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