A data structure is simply an object or collection of objects that is designed to enable you to store, access and manipulate data.
In the previous section, we discussed Big O and Algorithms; two tools that you may want to use in your quest to write quality, performant code. In this section, we put that to the side and we look at Data Structures, what they are and how they can be useful.
If you're unsure of how to implement classes and objects in your chosen language, now is the time to brush up on that knowledge; because this section will be asking you to make use of it.
What is a data structure?
You will have certainly already dealt with one data structure already... The Array. Arrays can conceptually be thought of a line of boxes, and you can insert, look at, change and remove these boxes. In our next lesson, we'll be looking at data structures similar to arrays, but at the same time rather different.
Have a look back at previous code you have written outside of this course. Have there been other ways you've stored data other than simply arrays?