how to use hash table
i have a pair (a,b) with which i want to use.
if i use hash function like  a+nb there will be number of clashes.
also , i have tried map stl in some of programs and most of them give
TLE.
So, is there a better way for this or i have to look a different
approach to this.

Thanks
Mohit
On Dec 19, 7:39 pm, juver++ <avpostni...@gmail.com> wrote:
> Use hash_table, it provides O(1) expected time for searching.

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algoge...@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