1/15
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
insertion sort
O(N²)
insertion sort (sorted)
O(N)
Simple Sort - lower bound (such as insertion sort, bubble sort, and selection sort)
Ί(N2)
Shell Sort - original sequence
Î(N2)
Shell Sort- Hibbardâs sequence
Î(N3/2)
Shell sort - Sedgewickâs sequence
(O(N4/3)
Shell Sort - lower bound
âŚ(N²)
Shell Sort - upper bound
O(N²)
heap sort, merge sort, quicksort
O(N log N) on average, quicksort worst case O(N²)
quickselect
O(N), worst case O(N²)
bucket sort
O(M+N)
radix sort
O(N)
Union (Array), Find (Array)
union O(N), find O(1) constant. Opposite when tree
Union (Tree), Find (Tree)
union O(1) constant, find O(N). Opposite when array
Smart Union, Smart Find
log(N)
Union, Find - Path compression
O(mlog*N)