IT will grt help for me... if u all tell me..

map<string,int> m;

m["topcoder"]=2



My question is this:

 Is 2 is an key value??or index value of hash table...??...

kindly explain how actual mapping is done... in hash table...plz...


PRAVEEN RAJ
DELHI COLLEGE OF ENGINEERING



On Tue, Dec 27, 2011 at 9:00 PM, Jagannath Prasad Das
<jpdasi...@gmail.com>wrote:

> @shashank and @samm: Is the deletion and searching is o(1). I doubt
>
> On Sat, Oct 1, 2011 at 6:30 PM, SAMM <somnath.nit...@gmail.com> wrote:
>
>> Yaa it will work , but in case of deletion don't u think array will
>> not as efficient as linked list becoz  array is Static we need to
>> define the memory b4 hand..
>>
>> On 10/1/11, WgpShashank <shashank7andr...@gmail.com> wrote:
>> > @All Why don't try with combination of* hash-table & Array* , It Will
>> Work ,
>> > try it out :P
>> >
>> >
>> > Thanks
>> > Shashank Mani
>> > CSE, BIT Mesra
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups
>> > "Algorithm Geeks" group.
>> > To view this discussion on the web visit
>> > https://groups.google.com/d/msg/algogeeks/-/v_MplK3KzegJ.
>> > 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.
>> >
>> >
>>
>>
>> --
>> Somnath Singh
>>
>> --
>> 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