0

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

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
1
MMath & Number Theory
2
MMath & Number Theory
3
MMath & Number Theory
4
EMath & Number Theory
5
MMath & Number Theory
6
EMath & Number Theory
7
EMath & Number Theory
8
MMath & Number Theory
9
EMath & Number Theory
10
MMath & Number Theory
11
MMath & Number Theory
12
MMath & Number Theory
13
EMath & Number Theory
14
MMath & Number Theory