PRACTICE

Math Interview Questions

32 Math problems asked across FAANG and top tech companies. Approach hints, optimal solutions, and related problems.

🔒

to save your progress.

0ProblemDifficultyCompaniesBreakdown / SolutionLeetCode
Add Two NumbersMedium6 companiesView breakdown →
Climbing StairsEasy7 companiesView breakdown →
Reverse IntegerMedium3 companiesView breakdown →
Roman to IntegerEasy4 companiesView breakdown →
Rotate ArrayMedium4 companiesView breakdown →
Integer to RomanMedium2 companiesView breakdown →
Insert Delete GetRandom O(1)Medium2 companiesView breakdown →
Palindrome NumberEasy3 companiesView breakdown →
Pow(x, n)Medium2 companiesView breakdown →
Add BinaryEasy1 companiesView breakdown →
Maximum XOR ProductMedium2 companiesView breakdown →
Rotate ImageMedium2 companiesView breakdown →
Maximum Value at a Given Index in a Bounded ArrayMedium1 companiesView breakdown →
Angle Between Hands of a ClockMedium1 companiesView breakdown →
Basic Calculator IIMedium1 companiesView breakdown →
Building BoxesHard1 companiesView breakdown →
Consecutive Numbers SumHard1 companiesView breakdown →
Construct Uniform Parity Array IEasy1 companiesView breakdown →
Count the Number of Infection SequencesHard1 companiesView breakdown →
Fibonacci NumberEasy1 companiesView breakdown →
Find the Closest PalindromeHARD1 companiesView breakdown →
Maximum SwapMEDIUM1 companiesView breakdown →
Maximum Product of Three NumbersEASY1 companiesView breakdown →
Plus OneEASY1 companiesView breakdown →
Minimum Replacements to Sort the ArrayHARD1 companiesView breakdown →
Maximum Score with Co-Prime ElementHARD1 companiesView breakdown →
Number of Perfect PairsMEDIUM1 companiesView breakdown →
Sqrt(x)Easy1 companiesView breakdown →
Smallest Divisible Digit Product IEASY1 companiesView breakdown →
Shuffle an ArrayMEDIUM1 companiesView breakdown →
Missing NumberEasy4 companiesView breakdown →
Happy NumberEasy4 companiesView breakdown →

Practice with a Mock Interview

Solve these Math problems under real interview pressure with our AI interviewer.

Start Mock Interview →