Week 5: 2,4 Trees Flashcards

1
Q

What is a (2,4) Tree? What are its properties?

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

What is the height of a (2,4) Tree?

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

How does insertion work for (2,4) Trees?

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

How is overflow handled in (2,4) Trees?

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

What is the algorithm for put() for a (2,4) Tree?

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

How does deletion work for (2,4) Trees?

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

What is Underflow and Fusion? What is its case?

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

What is Underflow and Transfer? What is its case?

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

What is the algorithm for remove() for an (2,4) Tree?

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

What are the complexities for the following with regards to (2,4) Trees?

put()

remove()

A

put() is O(log n)

remove() is O(log n)

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