Introduction to Hash Table

A hash table is a data type that can map keys to values. (Reading time: under 3 minutes)

We'll cover the following...

Hash tables are very efficient. Let’s say that we want to look up a specific person in an array: we would have to walk through every item to look for that person! The space complexity would be O(n), as space depends on the size of the array.

To look things up way more efficiently, you can use hash ...