Do You Know, What is Data Structure?

 Hello Friends, From today's post we will start the Data Structure tutorial and will understand this in very easy and fun way. So, let's start this..



What is Data Structure?

Data structure is a systematic way to organize data in order to use it efficiently. That means, organizing data in that way so that we can access the data very easily.

Data structure is not any language as C,C++,JAVA etc. rather this is the set of algorithms which we use to design/structure the data in any programming language.

Data structure is main part of many computer science algorithms  through which a programmers handle the data properly. This plays a key role in better performance of program or software.

Characteristics of a Data Structure:

  • Data structure implementation should implement its interface correctly.
  • Running time or execution time of operations of data structure must be as smell as possible.
  • Memory usage of a data structure operation should be as little as possible.
  • This describes that how the data are related to each other.
Types of Data Structure:

Data structure have two types-
1.Primitive data Structure      2.Non-Primitive data Structure

Primitive Data Structure
It is that data structure which can operate directly from the machine instructions. that means these are defined by system and compiler.
Non-Primitive Data Structure
It is that data structure which we cannot operate directly from the machine instructions. This is derived by primitive data structure.
Non-Primitive data structure have also two types:
1. Linear Data Structure         2.Non-linear data Structure

Linear Data Structure
 linear is such data structure in which data items are stored linearly, in which one data is joined by other data item as linear.
e.g. Array, Linked List, Queue, Stack etc.
Non-linear Data structure
Non linear is such data structure in which data items are not stored systematically. In which data items can joined by any other data items.
e.g. Tree, Graph etc.

Basic Operation
The data in the data structures are processed by certain operations. The particular data structure chosen largely depends on the frequency of the operation that needs to be performed on the data structure.
  1. Searching: The process to find or search an item in a data structure is called Searching. 
  2. Sorting: The process to sort items in certain order it can be ascending or descending order is called Sorting.
  3. Insertion: The process to insert an item in a data structure is called Insertion.
  4. Deletion: The process to delete an existing item from  a data structure is called Deletion.
  5. Traversing: It means to perform any work we have to traverse of all element at least once in data structure.
  6. Merging: The process to merge of two list of same data types elements in which we get a third list is called Merging.
  7. Update: To update and existing item in a data structure.
In this Introduction post that's all for today , in the next post we will know what is the advantage and disadvantage of data structure. Till then, keep reading.

Note: If You Liked or helpful it then please share this post with your friends and tell me in the comment .
Thank you!

Popular posts from this blog

Privacy Policy for Evergreen Sabji Bazar

Difference between Array and Linked List

Cancellation and Refund Policy for Evergreen Sabji Bazar