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 do you understand by doubly linked list?

502


How is heap sort implemented?

475


What is the use of placement new?

584


Explain what are the major data structures used in the network data model?

567


What is collection process?

508






Can we remove element from arraylist while iterating?

496


What is a hash index?

472


What is the minimum number of nodes that a binary tree can have?

571


How can we reverse a singly linked list?

497


You are given a singly linked list. How would you find out if it contains a loop or not without using temporary space?

687


Describe queue operation.

511


How would you sort words in a large file?

552


Explain linear linked implementation of Stack and Queue?

514


What is the difference between Array and Arraylist?

605


What are sorting algorithms used for?

529