1.

Which type of data structure does rope represent?(a) Array(b) Linked List(c) Queue(d) Binary TreeAsked question is from Binary Trees in chapter Binary Trees of Data Structures & Algorithms IThis question was posed to me in final exam.

Answer»

Correct option is (d) Binary Tree

Easy explanation - Rope is a special binary tree in which the end NODES contain the string and its length. The array is a linear data structure. Linked LIST is a linear data structure having a node CONTAINING data INPUT and the ADDRESS of the next node. The queue is a data structure working on the principle of FIFO.



Discussion

No Comment Found

Related InterviewSolutions