Content deleted Content added
m →Rabin-Karp and multiple pattern search: Code-Layout |
|||
Line 67:
'''if''' hs ∈ hsubs
'''if''' s[i..i+m-1] = a substring with hash hs
hs := hash(s[i+1..i+m])
'''return''' not found
|