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


Please Help Members By Posting Answers For Below Questions

Can binary tree have 1 child?

659


What is sort function?

685


Why is sorting necessary?

653


What does a bubble chart show?

638


Can hashset contain duplicates?

672


What is data structure and why we need them?

645


Define b-tree of order m?

727


What do you understand by stable sort?

694


What is meant by int?

694


What is the time complexity of selection sort?

635


What are the different types of data structures?

728


How to reverse a singly linked list?

730


What do you mean by 2-3-4 tree?

750


How does quick sort work?

730


Name two algorithms two find minimum spanning tree?

715