1.

Which of the dynamic operations are used in Top Tree data structure implementation?(a) Link(b) Cut(c) Expose(d) All of the mentionedMy doubt stems from Binary Trees topic in portion Binary Trees of Data Structures & Algorithms II have been asked this question in an internship interview.

Answer»

The CORRECT option is (d) All of the mentioned

The explanation is: Link returns a single tree having DIFFERENT VERTICES from top trees. Cut removes the edge from the top tree. Expose is used to IMPLEMENT queries on top trees. HENCE all of the options are used as dynamic operations.



Discussion

No Comment Found

Related InterviewSolutions