Hash Tables
Know
Constant average lookup depends on a hash function spreading keys evenly. With linked-list chaining, all keys colliding can make lookup linear. Some implementations treeify large buckets, so state the collision strategy.
Apply
Use hashing when membership or lookup by key dominates and order does not matter.
Watch out
Quoting constant time without the even-distribution assumption, which makes the claim unfalsifiable.
