Wednesday, 25 October 2017

Data Structure in C

Share it Please

Data structures are used to store data in a computer in an organized form. In C language Different types of data structures are; Array, Stack, Queue, Linked List, Tree.
  • Array: Array is a collection of similar data type, you can insert and deleted element form array without following any order.
  • Stack: Stack work on the basis of Last-In-First-Out (LIFO). Last entered element removed first.
  • Queue: Queue work on the basis of First-In-First-Out (FIFO). First entered element removed first.
  • Linked List:  A Linked list is the collection of the node, Here you can insert and delete data in any order.
  • Tree: Stores data in a non-linear form with one root node and sub-nodes.

Algorithm

An algorithm is a finite set instruction, which is written for solve any problem. An algorithm is not the complete code or program, it is just like the English language.


No comments:

Post a Comment

Blogroll

About

Designed By IAMNGP | Moon