This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Computing string hashes as polynomial evaluations: h(s) = s[0]*p^(n-1) + s[1]*p^(n-2) + ... + s[n-1].
You've completed the free preview. Subscribe to unlock every lesson in every course.