Question

What is a 'Hash Table' and how does it handle 'collisions'?

A A sorted array with binary search capability; collisions are handled by resorting
B A data structure that maps keys to values using a hash function; collisions are handled by chaining or open addressing
C A type of binary tree that balances itself when collisions occur
D A table that stores hash values of encrypted passwords; collisions trigger re-encryption
E A network routing table; collisions are resolved by load balancing
Practice Next

Relevant for Exams:

Hey! Ask a query