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 the difference between list, set and map?
What is doubly linked list in data structure?
How to reverse singly link list?
What is array and structure?
Is array part of collection framework?
What do you mean by general trees?
What do you mean by structure property in a heap?
What is reduction to sorting method?
What is a b+ tree? Explain its uses.
Will hashmap allow null keys?
What is data structure and data type?
How do we find duplicate elements in an array?
What does simulation of queues mean?
What will happen if an array goes out of bounds?
How many types of data structures are used?