Sorting Flashcards
1
Q
Insertion Best Case
A
O(n)
2
Q
Insertion Avg Case
A
O(n^2)
3
Q
Insertion Worst Case
A
O(n^2)
4
Q
Selection Best Case
A
O(n^2)
5
Q
Selection Avg Case
A
O(n^2)
6
Q
Selection Worst Case
A
O(n^2)
7
Q
Heap Best Case
A
O(n log n)
8
Q
Heap Avg Case
A
O(n log n)
9
Q
Heap Worst Case
A
O(n log n)
10
Q
Merge Best Case
A
O(n log n)
11
Q
Merge Avg Case
A
O(n log n)
12
Q
Merge Worst Case
A
O(n log n)
13
Q
Quick Best Case
A
O(n log n)
14
Q
Quick Avg Case
A
O(n log n)
15
Q
Quick Worst Case
A
O(n^2)