Data Structure is a way of organising all data items that considers not only the elements but also their relationship to each other. It mainly specifies the following things:
👨💻 Algorithm + Data Structure = Program
Algorithm is a step-by-step procedure to solve a particular function that is a set of instruction written to carry out certain tasks and Data Structure is the way of organising the data with their logical relationship retained.
To develop a program of an algorithm, we should select an appropriate data structure for that algorithm.
Classification of Data Structure