Week 5: Multi-Way Trees Flashcards

1
Q

What is a Multi-Way Search Tree?

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

Each internal node of a Multi-Way tree has how many children?

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

What does it mean for a Multi-Way Search Tree to be of degree ā€˜dā€™

A

Each node can have d-1 items and each node can have at most d children (2 is the minimum amount of children)

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

What is a sentinal key?

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

How does searching work in Multi-Way Search Trees?

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

What is the algorithm for get() in a Multi-Way Search Tree?

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

What is the time complexity of the get() method in a Multi-Way Search Tree?

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

The smallest() and largest() operations for a MWST take how much time?

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

How does the successor operation work for MWSTs?

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

What is the time complexity of the successor() operation for MWSTs? What is the algorithm?

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

How does the put operation work in MWSTs? What is the time complexity?

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

How does the remove() operation work for MWSTs? What is the time complexity?

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

What are the time complexities of the following operations for MWSTs?

smallest()

largest()

get()

successor()

predecessor()

put()

remove()

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