what is data structure and its type?

 Data Structure : 

Organized collection of data is known as Data Structure . structure of data means how they are arranged or how they are collected together is known as Data Structure . Some examples of Data Structures  are array , linked list , tree , graph etc .

There are two types of Data Structure 

  1. Linear Data Structure 
  2. Non linear Data Structure 
Linear Data Structure : In linear Data Structure  data items are collected in a linear form or it is a sequence of data . example : array , queue .
Non linear Data Structure : In non linear as name suggest , data items are not collected in a linear form . the items do not follow any sequence . example : tree , graph . 



Post a Comment

have you any doubt then ask.

Previous Post Next Post