+1 vote
in Data Structures & Algorithms I by (110k points)
Which data structure is used to maintain a dynamic forest using a link or cut operation?

(a) Top Tree

(b) Array

(c) Linked List

(d) Stack

My question is taken from Binary Trees topic in division Binary Trees of Data Structures & Algorithms I

I got this question in examination.

1 Answer

+1 vote
by (672k points)
selected by
 
Best answer
Right option is (a) Top Tree

Easy 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.

Categories

...