+1 vote
in Data Structures & Algorithms I by (110k points)
Which of the following is also known as Rope data structure?

(a) Cord

(b) String

(c) Array

(d) Linked List

My enquiry is from Binary Trees in chapter Binary Trees of Data Structures & Algorithms I

The question was posed to me during a job interview.

1 Answer

+1 vote
by (672k points)
selected by
Best 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.

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.