1.

Which type of binary tree does rope require to perform basic operations?(a) Unbalanced(b) Balanced(c) Complete(d) FullMy question is taken from Binary Trees topic in division Binary Trees of Data Structures & Algorithms IThe question was posed to me during an online interview.

Answer»

The correct OPTION is (b) Balanced

The best I can explain: To perform the BASIC operations on a ROPE DATA structure like insertion, deletion, concatenation and SPLITTING, the rope should be a balanced tree. After performing the operations one should again re-balance the tree.



Discussion

No Comment Found

Related InterviewSolutions