1.

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 searchingMy enquiry is from Splay Tree topic in portion Binary Trees of Data Structures & Algorithms IThis question was addressed to me in a national level competition.

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.



Discussion

No Comment Found

Related InterviewSolutions