1.

Which of the following is also known as Rope data structure?(a) Cord(b) String(c) Array(d) Linked ListMy enquiry is from Binary Trees in chapter Binary Trees of Data Structures & Algorithms IThe question was posed to me during a job interview.

Answer»

Correct answer is (a) Cord

Easy explanation - Array is a LINEAR data STRUCTURE. Strings are a collection and sequence of codes, alphabets or characters. LINKED List is a linear data structure having a NODE containing data input and the ADDRESS of the next node. The cord is also known as the rope data structure.



Discussion

No Comment Found

Related InterviewSolutions