Question DSA-MATH-0014
MediumWhy do programming problems often ask for answers 'modulo 10⁹ + 7'?
- A.
It is the fastest number to divide by
- B.
It makes answers smaller to print
- C.
It is a large prime that keeps numbers within 64-bit range and allows modular inverses
- D.
It is required by every language
Sign up free to see the answer and a step-by-step explanation.