Top 50
Topic roadmap
Updated weekly · Last refresh Sep 13

Top 50 Math Interview Questions

The most frequently asked Math questions across all roles and companies, ranked by real interview frequency. Updated daily.

50questions
~21htotal time
453companies covered
Track your progressSign up free to work through all 50 questions and resume where you left off.
Start practicing free →
1
RecursionStart here. 10 questions · ~250 min
Palindrome String FunctionEasy
Practice
Recently asked

Use two pointers to determine whether a PenFed member-note string reads identically forward and backward.

RecursionMathStringsCirrus LogicPENFED Credit UnionAlphatec Spine
Binary Search in Sorted ArrayEasy
Practice
Recently asked

Implement binary search to find a target in a sorted array in O(log n) time.

RecursionMathArraysWayfairAmazon Kuiper Commercial Services6sense
Writing a Machine Learning FunctionHard
Practice

Use dynamic programming and backpointers to find the most likely hidden-state sequence in a Hidden Markov Model.

RecursionMathArraysBlackRockSt. Jude Children's Research HospitalGeneral Motors (GM)
Compute Nth Fibonacci NumberEasy
Practice
Recently asked

Compute the nth Fibonacci number using an iterative dynamic programming approach with O(n) time and O(1) space.

RecursionMathDynamic ProgrammingAAnnalectExperianAstyra
More Recursion questions with a free account
2
Math25 questions · ~625 min
Linear Regression From ScratchMedium
Practice

Fit a univariate linear regression model from data using gradient descent or the normal equation.

MathArraysGradient DescentTavantElsevierBMW of North America
Implementing K-Means ClusteringMedium
Practice
Recently asked

Implement Lloyd's k-means algorithm to cluster 2D points by iteratively updating centroids.

MathArraysSortingIncedoBestPeersKLA
Implement Merge SortEasy
Practice
Recently asked

Sort an array using merge sort and analyze its time and space complexity.

MathArraysSortingApexonEvernoteHuron Consulting Group
More Math questions with a free account

Sign up to see every question

Create a free account to unlock this list and practice real interview questions.

Get my prep plan
3
Hash Tables7 questions · ~175 min
More Hash Tables questions with a free account
4
Bit Manipulation3 questions · ~75 min
More Bit Manipulation questions with a free account
5
More topics5 questions · ~125 min
Basic Linear Regression FunctionEasy
Practice

Implement ordinary least squares to fit a line and predict values for new inputs.

RegressionMathArraysUniversity of HoustonConnectiveRxRice University
More questions with a free account
The finish line: interview-readyComplete all 50 questions to finish this plan.