Hash tables | Sololearn: Learn to code for FREE!


Hash tables

Implement a phone book using hash tables. How to handle the case where a person can have multiple phone numbers.

12/8/2018 2:06:49 PM


2 Answers

New Answer


Use a list-valued dictionary.


You can store a list as the value {'someone':[2819,8313,69381]}