Loading...
Engaged Employer
How would you store 1 million phone numbers?
Anonymous
That's why you didnt pass the interview einstein. My idea is to use a trie data structure. I am gonna look up wikipedia
Use a binary search tree.
Phone numbers are unique. Use hashmap to get O(1) when you look up.
I don't remember how I answered this.
Check out your Company Bowl for anonymous work chats.
Get actionable career advice tailored to you by joining more bowls.
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalized job recommendations and updates by starting your searches.