example of linear and non-linear data structures?
Answer Posted / bala chandra
The data structure is said to be a Linear data structure if
its elements are in sequence and form a linear list.
Ex. Arrays, Stacks, Queues,Linked Lists.
In non-linear data structures the elements are stored in
hierarchical manner.
Ex.Trees,Graphs etc..
| Is This Answer Correct ? | 78 Yes | 7 No |
Post New Answer View All Answers
What is shell sort in data structure?
Which is the parent class of abstractqueue class?
Differentiate linear from non linear data structure?
What is the default value of Array?
What is the difference between a hashmap and hashtable?
Explain the sorting algorithm that is most suitable to be used with single linked list?
Is red black tree balanced?
What is data algorithm?
Why use a tuple instead of a list?
Explain the principle of quicksort. What is its complexity?
What are the tasks performed during preorder traversal?
How do I sort a hashmap key?
What is difference between arraylist and linkedlist?
How memory is reserved using a declaration statement in data structure?
What is the difference between a Stack and a Queue.