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
Where is data structure used?
write a program to accept name & sort them?
What are trees in data structures?
What is Another name of Dynamically allocating memory.
Write program for Quick sort ?
Define threaded binary tree.
What are the different types of data type?
Why is an array homogeneous?
What is the need for priority queue?
Can a tree be empty?
State the properties of b tree.
Can we override compareto method for enumerations?
Define non-linear data structures?
Why is hashmap faster?
What is the use of data structure in real life?