Intel Corporation Interview Question: Given n names of people and t... | Glassdoor

Interview Question

Engineer Interview Folsom, CA

Given n names of people and their phone number, tell me the

  best way to store them !
Tags:
data structure
Answer

Interview Answer

1 Answer

0

I told a trie...but be careful, the interviewer didn't ask me for the alphabetical order. So, hash map/hash table are good way to store them. he expected me to answer a hashtable.

Interview Candidate on Jul 12, 2011

Add Answers or Comments

To comment on this, Sign In or Sign Up.