Re: [algogeeks] Storing 1 million phone numbers

2011-03-01 Thread gaurav gupta
Hey Sudhir, Just 2 quick suggestions for you. 1. Please learn mail etiquettes, no need to bold or enlarge if it is a google interview questions. 2. It would be great if you search on google once before posting anything. try this http://lmgtfy.com/?q=trie On Tue, Mar 1, 2011 at 4:03 AM, Sudhir

[algogeeks] Storing 1 million phone numbers

2011-02-28 Thread Sudhir mishra
best way , Memory-wise, to store 10 Crores mobile numbers ? this is an interview question of Google.its a bit too easy. -- * * Thanks Regards...* *Sudhir Mishra *IT 3rd YEAR* *Motilal Nehru National institute Of

Re: [algogeeks] Storing 1 million phone numbers

2011-02-28 Thread radha krishnan
Using a Trie with 10 tries with roots 0,1,2,.9 On Tue, Mar 1, 2011 at 2:47 AM, Sudhir mishra sudhir08.mis...@gmail.com wrote:  best way , Memory-wise, to store 10 Crores mobile numbers ?  this is an interview question of Google. its a bit too easy. --

Re: [algogeeks] Storing 1 million phone numbers

2011-02-28 Thread Sudhir mishra
please explain what is trie -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more