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)
tobsa/Sorting-Algorithms
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|