DATA STRUCTURE

"DATA STRUCTURE"



Data may be organized in many different ways: the logical or mathematical model of a particular organization of data is called data structure.


A data structure is a specialized format for organizing and storing data.


Image result for data structure

Classification of data structure

Data structure are normally divided into two broad categories:

1. Primitive data structure

2.Non-primitive data structure

Primitive data structure
A primitive data structure is generally a basic structure that is usually built into the language, such as an integer, an array or a linked-list.

These are basic structures and are directly operated upon by the machine instructions. In general, they have different representations on different computers. integers, character constants, string constants, pointers, etc.


Image result for primitive data structure
Non- primitive data structure

A NON-PRIMITIVE DATA STRUCTURE is built out of primitive data structures linked together in meaningful ways, such as a binary search tree, AVL Tree ,HASHTABLE, ETC.

Image result for non primitive data structure



These are more sophisticated  data structure. These are derived from the primitive data structure.
Non-primitive data structure are divided into two categories:



1. linear data structure--( linear  data structure is one in which its elements from a sequence.)
    
2 non-linear data structure ( A non-linear data structure is one in which its elements are not from a sequence)




Image result for non primitive data structure










DATA STRUCTURE USING "C"




Comments

Popular posts from this blog

Trading Live Advance Chart Source code HTML CSS & JS

How to show live Cryptocurrency Price In your website Using HTML CSS, AND JavaScript

Learn Python 2024 by gaurav tripathi