Hash table - Wikiwand

Tip

The nice thing about hash tables is that most algorithms are unless hash collisions occur.

AlgorithmAverageWorst case
SpaceΘ(n)O(n)
SearchΘ(1)O(n)
InsertΘ(1)O(n)
DeleteΘ(1)O(n)