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

What is sequential search?

747


How to sequentially represent max-heap?

713


Mention one advantage and disadvantage of using quadratic probing?

801


What is bubble sort technique?

692


What does the term sorting refer to?

802


Is hashmap sorted?

738


Is bucket sort stable?

696


Is quicksort greedy algorithm?

704


Define heap?

802


Does arraylist shrink?

699


Can treemap key null?

836


What is complexity algorithm?

636


Is hashtable fail fast?

638


What are threaded binary trees?

738


Is sorting a math skill?

680