Saturday, May 24, 2014

Introduction to Data-Structure

DATA STRUCTURE

what is data structure?

The answer is quite simple, it is the way of storing and organizing data  which can be used efficiently or It is a special format for organization and storing data.  The simple data structure is one Dimensional array.

Data Structure can be classified into several types :-




1. Linear Data-structure:- The Data are arranged in a linear fashion like array, linked list,queues and stacks.


Figure-  Example of Linear Data - Structure


2. Non-Linear Data-structure:- In Non Linear Data- Structure the data are arranged in non-linear fashion like trees, sets, graphs and tables.


 Figure - Example of Non-Linear Data - Structure.

In the next post i will show you how to create, insert and delete a simple singly linked list.

No comments:

Post a Comment