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
Can binary tree have 1 child?
What is sort function?
Why is sorting necessary?
What does a bubble chart show?
Can hashset contain duplicates?
What is data structure and why we need them?
Define b-tree of order m?
What do you understand by stable sort?
What is meant by int?
What is the time complexity of selection sort?
What are the different types of data structures?
How to reverse a singly linked list?
What do you mean by 2-3-4 tree?
How does quick sort work?
Name two algorithms two find minimum spanning tree?