fix(curriculum): unclear instruction: Build a hash table (#63952)

This commit is contained in:
Diem-Trang Pham
2025-11-18 14:21:04 -06:00
committed by GitHub
parent 46fddf1f7a
commit fec396ae74
@@ -26,8 +26,8 @@ For the purpose of this lab, the hashing function will be simple: it will sum th
4. The `add` method should:
- Take two arguments representing a key-value pair, and compute the hash of the key.
- Use the computed hash value to store the key-value pair inside the `collection` dictionary.
- If multiple keys produce the same hash value, their key-value pairs should be stored in a nested dictionary under the same hash value.
- Use the computed hash value as a key to store a dictionary containing the key-value pair inside the `collection` dictionary.
- If multiple keys produce the same hash value, their key-value pairs should be stored in the existing nested dictionary under the same hash value.
5. The `remove` method should: