1.

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) StackMy question is taken from Binary Trees topic in division Binary Trees of Data Structures & Algorithms II got this question in examination.

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.



Discussion

No Comment Found

Related InterviewSolutions