Skip to content

Lucas749/10-Sorting-Algorithms-Visualized

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

10 Sorting Algorithms Visualized

The script visualizes 10 common sorting algorithm. The implemented algorithms and their time complexity are reported in the table below. To visualize the algorithms, simply run the script and specify the array length and algorithm.

Algorithm Best Average Worst
Pigeonhole Sort - O(n+N) O(n+N)
Merge Sort n log n n log n n log n
Heap Sort n log n n log n n log n
Quick Sort n log n n log n n2
Insertion Sort n n2 n2
Bubble Sort n n2 n2
Gnome Sort n n2 n2
Comb Sort n log n n2 n2
Selection Sort n2 n2 n2
Bogo Sort n (n+1)! (n+1)!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages