Week 5: Multi-Way Trees Flashcards
What is a Multi-Way Search Tree?
Each internal node of a Multi-Way tree has how many children?
What does it mean for a Multi-Way Search Tree to be of degree ādā
Each node can have d-1 items and each node can have at most d children (2 is the minimum amount of children)
What is a sentinal key?
How does searching work in Multi-Way Search Trees?
What is the algorithm for get() in a Multi-Way Search Tree?
What is the time complexity of the get() method in a Multi-Way Search Tree?
The smallest() and largest() operations for a MWST take how much time?
How does the successor operation work for MWSTs?
What is the time complexity of the successor() operation for MWSTs? What is the algorithm?
How does the put operation work in MWSTs? What is the time complexity?
How does the remove() operation work for MWSTs? What is the time complexity?
What are the time complexities of the following operations for MWSTs?
smallest()
largest()
get()
successor()
predecessor()
put()
remove()