Explain how hash tables work and the average time complexity of searching them
Role: Software Engineer
Category: Software Engineering Fundamentals
Difficulty: easy
Interview Round: Other
Overview: Explain how a hash table maps keys to array slots and what its average search cost is. Tests understanding of hash functions, collision handling with chaining or open addressing, load factor and resizing, and the gap between average and worst-case lookup time.