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 Singly Linked list?
Which is the parent class of list
How does a heap sort work?
Can you have an arraylist of arrays?
Is treemap thread safe?
How does dynamic memory allocation help in managing data?
How does selection sort work?
How many times is merge sort called?
Where is insertion sort used?
Where is data structure used?
Why is waste sorting important?
What are the advantages of linked list?
How do I rearrange rows in numbers?
Why do we use hashset?
How are the elements of a 2d array are stored in the memory?