🔑 Associative (Hash) array
= general implementation of an 🖇 Array (programming), not limited to integers as an index
Basic principle
- Key: data strucure of any type used to access a…
- Value: data strucure of any type associated with the key
Pros&Cons
- 👍 any data-type can be used as a key
- 👎 not sorted → forall loop necessary → less efficient