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
What do you understand by doubly linked list?
How is heap sort implemented?
What is the use of placement new?
Explain what are the major data structures used in the network data model?
What is collection process?
Can we remove element from arraylist while iterating?
What is a hash index?
What is the minimum number of nodes that a binary tree can have?
How can we reverse a singly linked list?
You are given a singly linked list. How would you find out if it contains a loop or not without using temporary space?
Describe queue operation.
How would you sort words in a large file?
Explain linear linked implementation of Stack and Queue?
What is the difference between Array and Arraylist?
What are sorting algorithms used for?