+1 vote
in Data Structures & Algorithms I by (110k points)
Which of the dynamic operations are used in Top Tree data structure implementation?

(a) Link

(b) Cut

(c) Expose

(d) All of the mentioned

My doubt stems from Binary Trees topic in portion Binary Trees of Data Structures & Algorithms I

I have been asked this question in an internship interview.

1 Answer

+1 vote
by (672k points)
selected by
Best 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.

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.