Definitions:
1. Data Structure: A mathematical or logical representation of data in memory is called data structure.
2. Algorithm: A step by step solution to any problem is called algorithm.Introduction to Data Structure:
As we have gone through the definition of data structure "It is mathematical or logical representation of data in memory".
Classification:
There are two type of Data Structures according to memory representation