What is the purpose of a hash table?
Q1. What is the purpose of a hash table?
Answer: To provide fast lookup and insertion operations
Explanation: A hash table provides fast lookup and insertion operations by mapping keys to indices using a hash function, making it efficient for data storage and retrieval.