Big O Sort Flashcards
1
Q
BAWS bubble
A
B= o(n)
A=o(n^2)
W=o(n^2)
S= o(1)
2
Q
BAWS insertion
A
B= o(n)
A=o(n^2)
W=o(n^2)
S= o(
3
Q
BAWS merge
A
BAW= o (n log n)
S= o(n)
4
Q
BAWS quicksort
A
b= o(n log n)
A = o(nlog n)
W = o(n^2)
S = o(log n)