a data structure is a box that holds stuff.
you can choose to just dump everything into the box or you can get all fancy.
how can you make that box fancy? Maybe after you put everything in, it will always give them back to you in the same order you put them in.
Or, maybe it give them back to you in reverse.
what if you wanted to find something in the box fast? well, you’ll need some way to sort and store it better.
Choose a box based on how you want to use/find your items that are stored in the box.
Latest Answers