want to learn about "Hash"

Let's talk about algorithms!

Moderator: Board moderators

Post Reply
sunnycare
Learning poster
Posts: 74
Joined: Tue Mar 08, 2005 2:35 am
Location: China , Shanghai

want to learn about "Hash"

Post by sunnycare »

i know little about "Hash"..

who can give me some problem (maybe thay are not in the problemset)about "Hash".....

i also need the source code to read...

thanks ..

(i am poor in English ,if there are anything confusing you above,please tell me)
nibbler
New poster
Posts: 22
Joined: Fri Jun 04, 2004 10:30 pm

Post by nibbler »

to start off, try rabin karp string matching algorithm
sunnycare
Learning poster
Posts: 74
Joined: Tue Mar 08, 2005 2:35 am
Location: China , Shanghai

Post by sunnycare »

sorry what's rabin karry string match? :(
sunnycare
Learning poster
Posts: 74
Joined: Tue Mar 08, 2005 2:35 am
Location: China , Shanghai

Post by sunnycare »

sorry what's rabin karry string match? :(
misof
A great helper
Posts: 430
Joined: Wed Jun 09, 2004 1:31 pm

Post by misof »

Why don't you try googling for:

Code: Select all

rabin karp string matching algorithm
?

BTW I don't think that explaining how Rabin-Karp works is the best way to introduce someone to hashing... :-?
As an example (requiring much less maths) try reading this:
http://www.palfrader.org/hashing/

But in general, try reading anything WITH the words "hashing", "data structures" and WITHOUT the word "cryptography" in it :D
misof
A great helper
Posts: 430
Joined: Wed Jun 09, 2004 1:31 pm

Post by misof »

http://acm.uva.es/p/v107/10763.html
can be solved in (expected) linear time using hashing... when you understand how hashing works, try solving this task :)
sunnycare
Learning poster
Posts: 74
Joined: Tue Mar 08, 2005 2:35 am
Location: China , Shanghai

Post by sunnycare »

hi misof

you are really a great helper..
Post Reply

Return to “Algorithms”