example of linear and non-linear data structures?
Answer Posted / sirsendu chakraborty
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.
If the elements of data structure do not form a sequence or a
linear list then that type of data structure is called as Non-
Linear data structure.
Ex. Trees, BST(Binary Search Trees) etc.
| Is This Answer Correct ? | 300 Yes | 21 No |
Post New Answer View All Answers
Can you store different types in an array?
How do you sort a map by key?
What is top in stack?
Is quicksort faster than merge sort?
What are the types of array operations?
Why do we need linked list?
Traverse the given tree using Inorder, Preorder and Postorder traversals. Inorder : D H B E A F C I G J Preorder: A B D H E C F G I J Postorder: H D E B F I J G C A
Why is quicksort not stable?
What are the best data structure courses for gate preparation?
How do you initialize an arraylist?
What is binary search in data structure?
What is data and data structure?
What are the advantages of bubble sort?
Mention one advantage and disadvantage of using quadratic probing?
What is inserting in data structure?