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
How can you add an item to the beginning of the list?
What is arraylist load factor?
Does the minimal spanning tree of a graph give the shortest distance between any 2 specified nodes?
What is scalar example?
How many null values are allowed in hashmap?
Can you change size of array once created?
How do you find the second largest element in an array of integers?
What does map stand for?
How do you find the size of an arraylist?
Which process places data at the back of the queue?
Is linked list faster than array?
What is dynamic array how it is created?
Define level of the tree?
Which data structures are applied when dealing with a recursive function?
What is time complexity of binary search?