algo algorithm algorithms coding compsci computer computerscience cs data data-structure data-structures data.structures data_structure data_structures datastructure datastructures dev development interview list programming science software structure structures taxonomy theory
List of data structures
From Wikipedia, the free encyclopedia
This is a list of data structures. For a wider list of terms, see list of terms relating to algorithms and data structures.
Contents |
[edit] Base Data Structures
General type | Specific types |
---|---|
Primitive types | |
Composite types |
[edit] Linear Data Structures
General type | Specific types |
---|---|
List (or vector or sequence) | |
Associative array (a.k.a. dictionary or map) |
|
[edit] Non Linear Data Structures
General type | Specific types |
---|---|
Graph data structures | |
Tree data structures | |
|
|
|
|
[edit] 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.