1.

Which of the following data structures can be efficiently implemented using height balanced binary search tree?(a) sets(b) priority queue(c) heap(d) both sets and priority queueThe above asked question is from Binary Trees topic in chapter Binary Trees of Data Structures & Algorithms IThe question was asked by my school principal while I was bunking the class.

Answer»

Correct CHOICE is (d) both sets and priority queue

For explanation: Height-Balanced binary search tree can PROVIDE an EFFICIENT implementation of sets, priority queues.



Discussion

No Comment Found

Related InterviewSolutions