+1 vote
in Data Structures & Algorithms I by (110k points)
Is Top tree used for maintaining Dynamic set of trees called forest.

(a) True

(b) False

The above asked question is from Binary Trees topic in chapter Binary Trees of Data Structures & Algorithms I

This question was posed to me during an interview.

1 Answer

+1 vote
by (672k points)
selected by
Best answer
Correct answer is (a) True

For explanation: Top tree data structure is used to maintain a dynamic forest using link or cut operations. Top tree is a type of data structure which is based on unrooted dynamic binary tree and is used to solve path related problems.

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.