Introduction to Data Structure
Over the past few decades, the speed of computers has tremendously increased. Computers nowadays can perform millions of instructions in a matter of seconds. But when the complexity of a problem increases we will no longer be in a position to ignore the performance of the computer and, How data is stored in the computer directly affects its performance. So, for better performance, we need a method to structure and organize data efficiently in storage. This is where Data Structures came handy.
What is a data structure?
A Data Structure, as the name suggests, is a method to store data in a structured way so that it can be easily created, viewed, and managed.
A one-liner definition may not be enough to explore Data Structures.
So Let's take an example: