Different data structures
We can categorize data structures in to two different groups:
In linear data structures, items are structured in a linear or sequential manner. Array, list, stack, and queue are examples of linear structures. In nonlinear structures, data are not structured in a sequential way. Graph and tree are the most common examples of nonlinear data structures.
There are many different types of data structures that exist in the programming world. Out of them, following are the most used ones: