A data structure is a way of organizing and storing data so that it can be accessed and modified efficiently. Data structures are built on the abstract data type model. This model represents an interface that's employed by a user to perform operations on data.
It's important to choose the right data structure for your task. The following list shows the most common data structures:
- Arrays
- Linked lists
- Stacks
- Queues
- Sets
- Maps
- Hash tables
- Binary search trees
- Tries
- Binary heaps
- Graphs