Why is a hash table lookup called O(1) when collisions exist?
Every source says hash table lookup is O(1), then the next paragraph admits that collisions make it O(n) in the worst case. Both cannot be the headline figure.
If the worst case really is linear, why is O(1) the number everyone quotes?