Question
3) Answer the following questions below by showing the final tree for each question: a) Start from an empty tree, construct a 5-way B-tree for
3) Answer the following questions below by showing the final tree for each question:
a) Start from an empty tree, construct a 5-way B-tree for the sequence 16, 5, 14, 18, 15, 20, 7, 9, 3, 17, 10.
b) Start from an empty tree, construct a 5-way B-tree for the sequence 20, 18, 17, 16, 15, 14, 10, 9, 7, 5, 3.
c) Based on the trees you generated above, what is your observation in terms of the relationship between the order of the incoming data and the shape of the tree are you getting the exact same trees when having the same set of data in different order? In what way are the trees similar, in what way are they different?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started