@MONSIEUR Use Binary Search Tree as the data Structure to store the values
for the Phone numbers because insertion and deletion is easy plus you will
get the additional advantage of sorted list of phone numbers . So Binary
search tree is better than using hash data structure .


Regards
Rajeev N B

I Blog @ www.opensourcemania.co.cc

On Wed, Jun 29, 2011 at 6:27 PM, Anantha Krishnan <
ananthakrishnan....@gmail.com> wrote:

> How we will get phone number of a particular person?
>
> Thanks & Regards,
> Anantha Krishnan
>
>
> On Wed, Jun 29, 2011 at 6:22 PM, sudheer kumar <
> chigullapallysudh...@gmail.com> wrote:
>
>> USE TRIE
>>
>>
>> On Wed, Jun 29, 2011 at 6:10 PM, shady <sinv...@gmail.com> wrote:
>>
>>> go through the archives you will definitely find the answer :)
>>>
>>>
>>> On Wed, Jun 29, 2011 at 6:05 PM, MONSIEUR <monsieur....@gmail.com>wrote:
>>>
>>>> What is the most efficient way, memory-wise, to store 1 million phone
>>>> numbers?
>>>>
>>>> --
>>>> 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 options, visit this group at
>>>> http://groups.google.com/group/algogeeks?hl=en.
>>>>
>>>>
>>>  --
>>> 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 options, visit this group at
>>> http://groups.google.com/group/algogeeks?hl=en.
>>>
>>
>>
>>
>> --
>> Thanks and Regards
>> chigullapallysudh...@gmail.com
>> Sudheer
>>
>>  --
>> 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 options, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>
>  --
> 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 options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>

-- 
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 options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to