How do you deal with conflicts in a hash table?
Asked in the recruiter phone screen stage. CS trivia asked by recruiter.
bucket_id, collision_count, collision_strategybucket_id is NULLbucket_id ascending| Column | Type | Description |
|---|---|---|
| entry_idPK | INT | Unique identifier for the inserted key |
| bucket_id | INT | Bucket index assigned by the hash function |
| key_value | VARCHAR(50) | Stored key |
| strategy | VARCHAR(30) | Collision handling strategy used for the bucket |