July 2018
Beginner
202 pages
5h 4m
English
More formally, a data structure is an organization of data elements, a collection of functions that can be applied on the data (such as add, delete, and search) and any relations between the different data elements. The following table shows common operations that some data structures provide:
| Operation | Type | Description |
| search(key) | Non-modifying | An operation that, given the key to a particular value, will return the value stored in the data structure if it can be found. |
| side() | Non-modifying | The total number of values stored in the data structure. |
| add(value) | Modifying | Inserts a value in the data structure. |
| update(key, value) | Modifying | Updates an existing entry using the provided key and value. |
| delete(value) ... |
Read now
Unlock full access