Question: [ Landing the slides at SlideWorld ] 2 + 5 + 5 + 2 You have won a contract for the design of a new
Landing the slides at SlideWorld
You have won a contract for the design of a new theme park, SlideWorld. The
primary attraction of the park is to consist of n landings, numbered through
n which will be connected by a number of slides. Each slide i j connects a
landing i to a landing j i which means that slide i j goes from landing
i directly to landing j See Figure for an example of the possible slides when
n
Figure : An example of all possible slides when n The slides are
and
Slideworld wants to let the customers begin their trip at any landing b and
end at any other landing e b Putting in all the n slides in the park is going
to break the bank. So you have been asked to determine a set of slides so that
any customer can get from any landing b to any landing e b using at most
two slides. That is it should be possible to get from any b to any e b either
by taking a direct slide b e or by taking two slides b m and m e
To be clear, a solution of your algorithm is a set of slides.
Using divideandconquer, we will find a solution that uses only Theta n log n
slides while ensuring that any customer can get from any landing b to any
landing e b using at most two slides.
For the base cases n design a system using at most slide.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
