This is a list of data structures. For a wider list of terms, see list of terms relating to algorithms and data structures.
Contents |
Base data structures
| General type | Specific types |
|---|---|
| Primitive types | |
| Composite types |
Linear data structures
| General type | Specific types |
|---|---|
| List (or vector or sequence) | |
| Associative array (a.k.a. dictionary or map) |
|
Non linear data structures
| General type | Specific types |
|---|---|
| Graph data structures | |
| Tree data structures | |
|
|
|
|
|
|
Comparison
An attempt to classify data structures based on feature attributes:
| Structure | Stable | Unique | Cells per Node |
|---|---|---|---|
| Bag (multiset) | no | no | 1 |
| Set | no | yes | 1 |
| List | yes | no | 1 |
| Map | no | yes | 2 |
"Stable" means that input order is retained. Other structures such as "linked list" and "stack" cannot easily be defined this way because there are specific operations associated with them.
No comments have been added.





