Question DSA-HASH-0078
HardWhat is rolling-hash collision probability with a modulus p (prime) roughly proportional to, for two different strings of length m?
- A.
1
- B.
m / p
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Hashing question
What is rolling-hash collision probability with a modulus p (prime) roughly proportional to, for two different strings of length m?
1
m / p
Sign up free to see the answer and a step-by-step explanation.
1 / m
p / m