Which of the following is also known as Rope data structure?

Category: QuestionsWhich of the following is also known as Rope data structure?
Editor">Editor Staff asked 5 months ago

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 Answers
Editor">Editor Staff answered 5 months ago

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.


Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17
Articles: 40702