Math & Number Theory
Primes, GCD, modular arithmetic, combinatorics and the overflow traps around them.
Newinterview weight 5014 problems1 visualisers
18
mastery
Attempts logged
0
Predicted success on the next one
33%
Solved here
0 / 14
What you actually need to hold in your head
- Sieve of Eratosthenes marks composites fast
- Euclid reduces gcd(a,b) to gcd(b, a mod b)
- Fast exponentiation squares its way to the answer
- Watch integer overflow and negative modulo
This unlocks
Next in the path
Design (LLD)
Watch it run
Step through the algorithm before you write it.
Patterns in this topic
The trigger phrases are what you are training yourself to notice.
Math & Number Theory problems
Ordered by sheet phase, so the early ones are the highest signal.
0 / 14 solved