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
How can you insert a node in a random location of the linked list?
What is sorting an array?
Which collection is fail safe?
How many types of data structures are used?
Is list same as array?
Which interfaces are implemented by enumset?
Define the graph data structure?
Differentiate between iterable and iterator.
What you mean by sorting?
How do you insert a new item in a binary search tree?
Is array a collection?
why boundary tag representation is used?
What is integer max_value?
Are linked lists considered linear or non-linear data structure?
What is a queue in data structure?