Data Structures and Algorithms
Why Data structures?
First of all, we need to understand why need to build the data structures. A structure of any kind has some specific purpose. For instance, the arrangement of bricks leads to a structure (house). the arrangement of bones leads to a structure called skeletons. The purpose of the house is to provide shelter and the purpose of the skeleton is to support the human body. Therefore foremost question is what is the purpose of the data structures? Data structures have two puroses or goals.
- Retrieve and save data with minimum possible time
- Retrieve and save data using minimum possible space.
In this whole tutorial, we will keep in mind this goal.