Description:
Best-Case Complexity:
Worst-Case Complexity:
Steps (Algorithm):
Nature: Divide and conquer algorithm.
Process:
Complexities:
Algorithm | Best | Average | Worst | |
---|---|---|---|---|
Bubble Sort | O(n) | O(n^2) | O(n^2) | |
Quick Sort | O(n log n) | O(n log n) | O(n^2) | |
Radix Sort | O(nb) | O(nb) | O(nb) | |
Applications of Sorting Algorithms |