+1 vote
in Data Structures & Algorithms I by (110k points)
Why to prefer splay trees?

(a) easier to program

(b) space efficiency

(c) easier to program and faster access to recently accessed items

(d) quick searching

My enquiry is from Splay Tree topic in portion Binary Trees of Data Structures & Algorithms I

This question was addressed to me in a national level competition.

1 Answer

+1 vote
by (672k points)
selected by
 
Best answer
Right choice is (c) easier to program and faster access to recently accessed items

Best explanation: Whenever you insert an element or remove or read an element that will be pushed or stored at the top which facilitates easier access or recently used stuff.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.

Categories

...