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
On clicking a node in a tree, all the adjacent edges are turned on. Calculate min of clicks such that all the edges are turned on.
What is rule regarding overriding equals and hascode method?
What is the difference between hashmap and arraylist?
What is the purpose of sorting algorithms?
Explain how is linked list implemented?
Is complete binary tree?
Does treeset allow null values?
Describe queue operation.
Are linked lists considered linear or non-linear data structures?
How does arraylist size work?
What are the different types of linked list?
Explain the implementation of an AVL tree and Binary tree.
What does arrays tostring do?
How can we delete any specific node from the linked list?
Explain extended binary tree.