┌───────────────┐ ┌───────────────┐ ┌───────────────┐
│ Small Hash │ │ Load Factor │ │ Rehashing │
│ Table (Buckets)│─────▶│ Increases as │─────▶│ Create Larger │
│ [ ] [ ] [ ] │ │ items fill up │ │ Table & Move │
│ [x] [x] [ ] │ │ │ │ Items │
└───────────────┘ └───────────────┘ └───────────────┘
│ │
▼ ▼
┌─────────────────────────────┐ ┌─────────────────────────┐
│ Collisions Increase │ │ Larger Table Has More │
│ Searching Slows Down │ │ Buckets, Reducing Load │
└─────────────────────────────┘ │ Factor and Collisions │
└─────────────────────────┘This diagram shows how a hash table fills up, causing load factor to increase, which leads to collisions and slower searches, triggering rehashing to create a larger table.