practice a little every day — you've got this ♡
Math & Bit Manipulation Interview Problems
Practice 5969 original coding, SQL, system design, machine learning and behavioral problems across 15 topics. Coding and SQL problems run against hidden test cases right in your browser; every problem has hints and a worked solution, free.
- 5969
- Problems
- 2211
- Auto-graded
- 15
- Topics
- 272
- Added today
Showing 181–184 of 184 results
- Math & Bit ManipulationMediumAuto-gradedModular Exponentiation Tower (Tetration mod M)
Tests mastery of modular arithmetic by computing a power tower (iterated exponentiation) modulo M using Euler's theorem and recursive modular exponentiation.
Math & Bit Manipulationmathmodular arithmeticnumber theory - Math & Bit ManipulationHardAuto-gradedCount Permutations With Exact Inversion Pairs
Tests deep combinatorics knowledge by counting permutations of 1..n that have exactly k inversions, using the Mahonian distribution and efficient DP with modular arithmetic.
Math & Bit Manipulationcombinatoricsdynamic programmingnumber theory - Math & Bit ManipulationMediumAuto-gradedModular Exponentiation of a Polynomial at a Point
Tests the ability to evaluate a polynomial modulo a prime, raise the result to a large power modulo the same prime, and apply Fermat's little theorem for efficiency.
Math & Bit Manipulationmathmodular arithmeticnumber theory - Math & Bit ManipulationMediumAuto-gradedCount Lattice Paths Through Forbidden Checkpoints
Tests combinatorial counting of grid paths using inclusion-exclusion and binomial coefficients, requiring precise arithmetic on a bounded lattice.
Math & Bit Manipulationcombinatoricsmathdynamic programming