shawn2306 / sorting_algorithm_visualizer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sorting algorithm visualizer

Visualizing sorting algorithms, using the matplotlib library.

Algorithms covered so far:

Name Function Name
Quick Sort quick_sort
Bubble Sort bubble_sort
Selection Sort selection_sort
Insertion Sort insertion_sort
Heap Sort heap_sort
Merge Sort merge_sort

Created Algorithms !!

| Shell Sort as shellSort | Comb Sort as combSort |

Usage:

Install

pip install -r requirements.txt

Run

python main.py function_name

Pass function name as a command line argument from list of functions above (in all lower case and spaces replaced by underscore).

For example:

python main.py quick_sort

About


Languages

Language:Python 100.0%