Skip to content

Luisgutw/sorting-algo-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sorting Algorithm Visualizer

A website to visualize some Sorting Algorithms.
You can generate a random array, select array size and set the algorithm speed.

Supported:

BubbleSort O(n^2)

Colors:

red: already sorted bars
lightgreen: current bars, not swapped
blue: current bars, swapped

SelectionSort O(n^2)

Colors:

red: already sorted bars
lightgreen: current bar
blue: current minimum

QuickSort O(n*log(n))

Colors:

red: already sorted bars
blue: pivot element
orange, lightgreen: swapped elements