Different keys can produce the same hash — a collision. Resolved two ways:
The ratio of elements to buckets. When a threshold is exceeded (usually 0.75), rehashing occurs (table grows, elements redistributed). Expensive, but rare.
Hash table: O(1) access, but no ordering. BST: O(log n) access, but elements are sorted. Choose based on whether sorted order matters.