Question DSA-MATH-0073
HardWhich test quickly checks primality of a large number with a small chance of error?
- A.
Miller–Rabin
- B.
Trial division up to n
- 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
Math and Number Theory question
Which test quickly checks primality of a large number with a small chance of error?
Miller–Rabin
Trial division up to n
Sign up free to see the answer and a step-by-step explanation.
Euclid's algorithm
The sieve of Eratosthenes up to n