+ 1
Hash tables
Implement a phone book using hash tables. How to handle the case where a person can have multiple phone numbers.
2 Respuestas
+ 4
Use a list-valued dictionary.
0
You can store a list as the value
{'someone':[2819,8313,69381]}
Implement a phone book using hash tables. How to handle the case where a person can have multiple phone numbers.