Must-know
Euclid GCD, fast power by squaring, sieve of Eratosthenes, and careful overflow/modulo handling.
Lesson
GCD, primes, modular arithmetic, and constructive counting.
Loading solution…
Euclid GCD, fast power by squaring, sieve of Eratosthenes, and careful overflow/modulo handling.
Showing 24 of the related problems in the 1000-question bank.
Add Two Numbers
Linked List
Reverse Integer
Math
Palindrome Number
Math
Integer to Roman
Greedy
Roman to Integer
Greedy
Divide Two Integers
Bit Manipulation
Multiply Strings
Math
Rotate Image
Matrix
Pow(x, n)
Math
Unique Paths
DP
Climbing Stairs
DP
Sum of Two Integers
Bit Manipulation
K Closest Points to Origin
Heap
Excel Sheet Column Title — Practice 21
Math
Happy Number — Practice 23
Math
Ugly Number — Practice 25
Math
Add Digits — Practice 27
Math
Perfect Number — Practice 29
Math
Self Dividing Numbers — Practice 31
Math
Fizz Buzz — Practice 34
Math
Count Primes — Practice 36
Math
Excel Sheet Column Number — Practice 38
Math
Excel Sheet Column Title — Practice 40
Math
Happy Number — Practice 42
Math
Got the lesson?
Mark Math & Number Theory as understood when the ideas stick.