Associative Arrays
Overview
An associative array can also be known as a map, symbol table or dictionary.
Hash Tables
A hash table is a type of associative array where a hash is calculated from a given key, and the key’s value is stored at the memory address pointed to by the key’s hash.
Complexity
Lookup | Average Case | Worst Case |
---|---|---|
Lookup | ||
Insertion | ||
Deletion |