Data structure - Define a linear and non linear data structure

Define a linear and non linear data structure.

Linear data fashion- Linked list is an example of linear data storage or structure. Linked list stores data in an organized a linear fashion. They store data in the form of a list.

Non Linear data structure- Tree data structure is an example of a non linear data structure. A tree has one node called as root node that is the starting point that holds data and links to other nodes.

Define a linear and non linear data structure.

Linear data structure: A linear data structure traverses the data elements sequentially, in which only one data element can directly be reached. Ex: Arrays, Linked Lists

Non-Linear data structure: Every data item is attached to several other data items in a way that is specific for reflecting relationships. The data items are not arranged in a sequential structure. Ex: Trees, Graphs

Data structure - Define in brief an array. What are the types of array operations?
Array and types of array operations - An array is a set of homogeneous elements. Every element is referred by an index......
Data structure - What is a matrix? Explain its uses with an example
A matrix is a representation of certain rows and columns, to persist homogeneous data. It can also be called as double-dimensioned array......
Data structure - Algorithm, properties of an algorithm, types of algorithms
Algorithm: A step by step process to get the solution for a well defined problem.......
Post your comment
Discussion Board
Data Structure
DS is a organized collection of data or organized data + operations.
Sergio Moises Macarringue 02-7-2016
Data structure
A logic or mathemetical modal of a perticula organization od data is called data structura it has two types linear or non linear
Krishna 02-25-2015
String
String is a library class which is beind called whenever deckared
Arunava 08-21-2014
DS
is string comes in linear data structure??
is string is primitive?
nishi 12-8-2013
DS
is string comes in linear data structure??
is string is primitive?
nishi 12-8-2013