What is linear and non-linear data structures?

Showing Answers 1 - 16 of 16 Answers

Shilpi

  • Jun 18th, 2006
 

Linear datastructures : Linklist (traversal is linear in nature)

Nonlinear : graphs, trees (traversal of nodes is nonlinear in nature)

aditya

  • Sep 16th, 2006
 

Linear data structures:- in which insertion and deletion is possible in linear fashion .example:- arrays, linked lists.

Non linear data structures:-in which it is not possible. example:- trees ,stacks

  Was this answer useful?  Yes

Pushpa

  • Dec 12th, 2006
 

Linear data structures : Arrays, Linked List

Non-Linear data strctures :trees, Graphs

  Was this answer useful?  Yes

A data structure is classified into two categories: Linear and Non-Linear data structures. A data structure is said to be linear if the elements form a sequence, for example Array, Linked list, queue etc. Elements in a nonlinear data structure do not form a sequence, for example Tree, Hash tree, Binary tree, etc.

There are two ways of representing linear data structures in memory. One way is to have the linear relationship between the elements by means of sequential memory locations. Such linear structures are called arrays. The other way is to have the linear relationship between the elements represented by means of links. Such linear data structures are called linked list.

Aditya Ranjan

  • Aug 9th, 2011
 

A data structure in which every data element has got exactly two neighbors or two adjacent elements except two elements having exactly one data element is called a linear data structure.Otherwise it is called a nonlinear data structure.

  Was this answer useful?  Yes

Linear data structures are:array,linked list,stack and queue.
non-linear data structures are :tree and graph.
Linear data structure: a data structure which is sequential and continues in nature i.e. access the data in sequential manner.
Non-linear data structure: a data structure which is not sequential.

  Was this answer useful?  Yes

chandu

  • Aug 13th, 2011
 

Linear : stack, arrays, linked list
Non-linear : trees ,graphs

  Was this answer useful?  Yes

Amraan

  • Sep 7th, 2011
 

Linear data structure is those in which data are arranged in specific manner i.e data are arranged consecutively.example are array,stack and queue.
Where as in non-linear data are arranged dynamically.examples are list link ,graph and trees.

  Was this answer useful?  Yes

Ravi

  • Sep 8th, 2011
 

In Linear data structure we can not insert item in middle place but in non linear we can do so.

  Was this answer useful?  Yes

simran yadav

  • Sep 17th, 2011
 

A data structure is linear if every item is related with next and previous item and it is non linear if it is attach with many of the items in specific ways to reflect relationship

  Was this answer useful?  Yes

meiyammai.k

  • Sep 18th, 2011
 

Linear data structures are in which all the data are arranged in sequence manner.for example:linked list,stack queue
Non linear data structure are in which all the data are arranged in random manner.for example :trees,graphs.

  Was this answer useful?  Yes

izedonmi ezekiel awele

  • Apr 3rd, 2012
 

Linear data structure is such that they are contiguous either by their arrangement in successive memory locations or by means of pointers. To help you understand it better, let say you were given a book, and asked to copy out some items of information from it, Mr.A decided that his hand writing would be big and eligible so it, cost him three A4 size papers to copy out the information, while Mr.B said he is going to reduce the size of the letters so it can enter just one page, he did just that Mr.A having used three sheets had to join them with a staple pin(pointer) in manner 1,2,3 ( he numbered the pages), but Mr.C did the same as Mr.A but going through it he found out that the item of information on page 3 would help him understand that of page 2 so he stapled it in the order 1,3,2 (non-linear data structure). thanks

  Was this answer useful?  Yes

rohit vishvakarma

  • Aug 20th, 2014
 

Linear data structure: A data element which access line by line and sorted in linear position is know as linear D.S
Non linear data structure: Which a data item is connected to several other data item is known as non linear D.S

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Answer Question

Click here to Login / Register your free account


 
Send   Reset

 

Related Answered Questions

 

Related Open Questions