Reported in a candidate post, Jul 2019
Modulo Operator Usage
Filed under TCS
The question
Explain why a modulo operator with a large prime (10^9+7) is used in competitive programming.
No write-up yet. Related questions below have one.
Related TCS questions
Collected from public candidate posts and coding forums. Updated Nov 2026.