S7-P4 Flashcards

1
Q
A

3
A
Note: AVL and BST are good for sorting numbers with repetition.
Note: We write the repeated numbers in one node, in inorder traverse of the tree, we still have to output n numbers.
AVL
AVL Deletion
AVL Insertion

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

1
A

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

F this

185

A

4
A

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

3
A
Radix Sort
Note: every digit is r bits so the base of the digits would be 2^r, for exp, when we use 4 bits to show digits, we are operating in base 16.

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

188

Opt1: 1-2a Opt4: 2-2a

A

1
A

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

2
A

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

???

190

A

2
A

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

End of P4

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