notations Flashcards

1
Q

insertion sort, best case + worst case

A

θ(n)
θ(n^2)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

selection sort, best case + worst case

A

θ(n^2)
θ(n^2)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

bubble sort, best case + worst case

A

θ(n^2)
θ(n^2)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

merge sort, best case + worst case

A

θ(nlogn)
θ(nlogn)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

shunting yard algortihm

A

O(n)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

dictionary operations in an AVL tree

A

O(logn)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

dictionary operations in a BST

A

O(n)
best case: balanced tree omega(logn)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly