1.

In which of the following self – balancing binary search tree the recently accessed element can be accessed quickly?(a) AVL tree(b) AA tree(c) Splay tree(d) Red – Black treeThis intriguing question originated from Binary Trees in section Binary Trees of Data Structures & Algorithms IThe question was asked during an online exam.

Answer»

Right ANSWER is (C) Splay tree

For EXPLANATION: In a Splay tree, the RECENTLY accessed element can be accessed quickly. In Splay tree, the frequently accessed nodes are moved towards the root so they are QUICK to access again.



Discussion

No Comment Found

Related InterviewSolutions