Introduction to Data Structure and Algorithms

Brief overview of Data Structures and Algorithms are explained with examples.

Data Structures and Algorithms

Data Structure – Efficient way of arranging the data which enables to solve a problem efficiently.

Example of Data Structure : Unsorted fruit basket.

Data Structures And Algorithms

Data Structure

Algorithms – Steps to be followed to solve a problem.

Example of Algorithm : Preparing a fruit salad.

Data Structure and Algorithms

Data Structure and Algorithms

 

Common Examples

Queue – To avoid rush in ticket counter or ATM counter.

Queue Data Structure

Queue Data Structure

Tree –  To identify the relationship between parent and child

Tree Data Structure

Tree Data Structure

Graph –  To find shortest distance between cities 

Graph Data Structure

Graph Data Structure

 

References

Data Structures

DS and Algorithms

Leave a comment

Your email address will not be published. Required fields are marked *