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 to sort 1 million floating point numbers?
What does stack top do?
Which is faster array or arraylist?
Define red-black trees.
How does bogo sort work?
How is any data structure application is classified among files?
What does arrays tostring do?
How do you find the length of an arraylist?
In Data Structure, write output of given program.
Explain binary representation?
Differentiate between arraylist and linkedlist.
What is the difference between a Stack and a Queue.
Why do we use arrays?
Define adjacent nodes?
What is dynamic array how is it created?