Data structures are 2 things. Imagine the following.
There is a lot of cookie dough. That’s all the memory a computer has.
The cutter/mould you use to make shapes. That’s a class. It gives your memory structure.
Now that you have this cutter, you can make cookies out of the dough (memory). These individual cookies are called objects.
You need to make different types of shapes based on what you want to do.
Data structures is just a fancy shmancy word for designing the cutters and making cookies out it.
Latest Answers