Skip to content

Interview Solver

FeaturesPricingHelp
Sign In
FeaturesPricingHelpSign In
Interview Questions›Topics›Math

Math Interview Questions

Master 30 math problems frequently asked in technical interviews. These questions test your understanding of mathconcepts and are essential for coding interview success.

30
Total Problems
9
Easy
17
Medium
4
Hard

Related Topics

ArrayHash TableStringRandomizedRecursionSortingHeap (Priority Queue)Binary Search
#3655MediumFrequency: 100%

Digit Operations to Make Two Integers Equal

Asked at Microsoft
MathGraphHeap (Priority Queue)Number TheoryShortest Path
#1
Rank
#227MediumFrequency: 96%

Basic Calculator II

Asked at Meta
MathStringStack
#2
Rank
#912MediumFrequency: 87%

Random Pick with Weight

Asked at Meta
ArrayMathBinary SearchPrefix SumRandomized
#3
Rank
#50MediumFrequency: 85%

Pow(x, n)

Asked at Meta
MathRecursion
#4
Rank
#70EasyFrequency: 79%

Climbing Stairs

Asked at Microsoft
MathDynamic ProgrammingMemoization
#5
Rank
#2383EasyFrequency: 73%

Add Two Integers

Asked at Microsoft
Math
#6
Rank
#224HardFrequency: 73%

Basic Calculator

Asked at DoorDash
MathStringStackRecursion
#7
Rank
#381HardFrequency: 72%

Insert Delete GetRandom O(1) - Duplicates allowed

Asked at LinkedIn
ArrayHash TableMathDesignRandomized
#8
Rank
#2MediumFrequency: 71%

Add Two Numbers

Asked at Google
Linked ListMathRecursion
#9
Rank
#1014MediumFrequency: 68%

K Closest Points to Origin

Asked at Meta
ArrayMathDivide and ConquerGeometrySortingHeap (Priority Queue)Quickselect
#10
Rank
#9EasyFrequency: 66%

Palindrome Number

Asked at Microsoft
Math
#11
Rank
#415EasyFrequency: 62%

Add Strings

Asked at TikTok
MathStringSimulation
#12
Rank
#69EasyFrequency: 56%

Sqrt(x)

Asked at Google
MathBinary Search
#13
Rank
#12MediumFrequency: 55%

Integer to Roman

Asked at Microsoft
Hash TableMathString
#14
Rank
#273HardFrequency: 55%

Integer to English Words

Asked at Microsoft
MathStringRecursion
#15
Rank
#3555EasyFrequency: 55%

Final Array State After K Multiplication Operations I

Asked at Microsoft
ArrayMathHeap (Priority Queue)Simulation
#16
Rank
#380MediumFrequency: 51%

Insert Delete GetRandom O(1)

Asked at Amazon
ArrayHash TableMathDesignRandomized
#17
Rank
#398MediumFrequency: 51%

Random Pick Index

Asked at Meta
Hash TableMathReservoir SamplingRandomized
#18
Rank
#7MediumFrequency: 48%

Reverse Integer

Asked at Google
Math
#19
Rank
#976MediumFrequency: 48%

Minimum Area Rectangle

Asked at Google
ArrayHash TableMathGeometrySorting
#20
Rank
#48MediumFrequency: 47%

Rotate Image

Asked at Meta
ArrayMathMatrix
#21
Rank
#523MediumFrequency: 43%

Continuous Subarray Sum

Asked at Meta
ArrayHash TableMathPrefix Sum
#22
Rank
#670MediumFrequency: 43%

Maximum Swap

Asked at Meta
MathGreedy
#23
Rank
#13EasyFrequency: 42%

Roman to Integer

Asked at Google
Hash TableMathString
#24
Rank
#62MediumFrequency: 42%

Unique Paths

Asked at Google
MathDynamic ProgrammingCombinatorics
#25
Rank
#66EasyFrequency: 42%

Plus One

Asked at Google
ArrayMath
#26
Rank
#268EasyFrequency: 42%

Missing Number

Asked at Google
ArrayHash TableMathBinary SearchBit ManipulationSorting
#27
Rank
#1585MediumFrequency: 42%

The kth Factor of n

Asked at Google
MathNumber Theory
#28
Rank
#3681MediumFrequency: 42%

Maximum Area Rectangle With Point Constraints I

Asked at Google
ArrayMathBinary Indexed TreeSegment TreeGeometrySortingEnumeration
#29
Rank
#282HardFrequency: 37%

Expression Add Operators

Asked at Meta
MathStringBacktracking
#30
Rank
View All Topics

Master Math in Real Interviews

Get AI-powered assistance when solving math problems during your actual interviews. Our Interview Copilot provides real-time hints and optimal solutions instantly.

Algorithm explanations
Code optimization tips
Live interview support
Start Free TrialNo credit card requiredView Pricing
Interview Solver
  • Home
  • Pricing
  • Sign in
  • Contact
  • Blog
  • Companion
  • Help Center
  • Use Cases
  • Software Engineer
  • Product Manager
  • Misc
  • Privacy Policy
  • Terms and Conditions
  • Discord Community
  • Affiliate Program
  • Interview Questions
  • Google Interview Questions
  • Amazon Interview Questions
  • Microsoft Interview Questions
  • Meta Interview Questions
  • Apple Interview Questions
  • TikTok Interview Questions
  • View All →
© 2025 Interview Solver, Inc. All rights reserved.