Skip to content

tobsa/Sorting-Algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sorting Algorithms
==================

A simple program that asks the user to choose a sorting algorithm and input size 
and then simply sorts the list. 

List of included sorting algorithms:

Sorting algorithm   Complexity (Best Average Worst)
-----------------   -------------------------------
Bubble Sort         O(n^2)      O(n^2)      O(n^2)
Selection Sort      O(n^2)      O(n^2)      O(n^2)
Insertion Sort      O(n)        O(n^2)      O(n^2)
Merge Sort          O(n log n)  O(n log n)  O(n log n)
Quick Sort          O(n log n)  O(n log n)  O(n^2)
Tree Sort           O(n)        O(n log n)  O(n log n)
Heap Sort           O(n log n)  O(n log n)  O(n log n)

About

A simple program that asks the user to choose a sorting algorithm and then sorts a list.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages