Hash tables | Sololearn: Learn to code for FREE!

+1

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

louza

2 Answers

New Answer

+4

Use a list-valued dictionary.

0

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