Introduction to Data structures

Data Structures
data structure is a particular way of storing and organizing data in a computer so that it can be used efficiently. Data structures provide a means to manage huge amounts of data efficiently, such as large databases and internet indexing services. Usually, efficient data structures are a key to designing efficient algorithms.
An algorithm is a step by step solution of any given problem at hand in a finite number of steps.
There are two types of data structures(broadly):
1. Linear Data Structures and
2. Non-Linear Data Structures

Linear Data Structures:- Linear Data Structures are  stored in computer's memory in sequential way i.e., one after the other. There are following Linear Data Structures:
1. Array
2. Stack
3. Queue

None-Linear Data Structures:-None-Linear Data Structures are not  stored in computer's memory in sequential way i.e., one after the other. There are following none-Linear Data Structures:
1. Linked List
2. Tree
3. Graph



Comments

Popular posts from this blog

Program for calculating Simple Interest using the concept of Default Arguments

Program: Maximum number in three numbers in visual basic

Program for Checking whether the given number is Palindrome or not