Top 50 Math Interview Questions
The most frequently asked Math questions across all roles and companies, ranked by real interview frequency. Updated daily.
Use two pointers to determine whether a PenFed member-note string reads identically forward and backward.
Cirrus Logic
PENFED Credit Union
Alphatec SpineImplement binary search to find a target in a sorted array in O(log n) time.
Wayfair
Amazon Kuiper Commercial Services
6senseUse dynamic programming and backpointers to find the most likely hidden-state sequence in a Hidden Markov Model.
BlackRock
St. Jude Children's Research Hospital
General Motors (GM)Compute the nth Fibonacci number using an iterative dynamic programming approach with O(n) time and O(1) space.
Experian
AstyraFit a univariate linear regression model from data using gradient descent or the normal equation.
Tavant
Elsevier
BMW of North AmericaImplement Lloyd's k-means algorithm to cluster 2D points by iteratively updating centroids.
Incedo
BestPeers
KLASort an array using merge sort and analyze its time and space complexity.
Apexon
Evernote
Huron Consulting GroupSign up to see every question
Create a free account to unlock this list and practice real interview questions.
Implement ordinary least squares to fit a line and predict values for new inputs.
University of Houston
ConnectiveRx
Rice University