Data Scientist Machine Learning Interview Questions
Practice 434 real Machine Learning interview questions for Data Scientist roles. From companies including Meta, Amazon, Google, Capital One, TikTok.

"I got asked a hardcore MCM DP question and I saw it on PracHub as well. Solved that question in 5 minutes. Without PracHub I doubt I could solve it in 5 hours. Though somehow didn't get hired, perhaps I guess I solved it too fast? /s"

"Believe me i'm a student here jn US. Recently interviewed for MSFT. They asked me exact question from PracHub. I saw it the night before and ignored it cause why waste time on random sites. I legit wanna go back and redo this whole thing if I had chance. Not saying will work for everyone but there is certainly some merit to that website. And i'm gonna use it in future prep from now on like lc tagged"

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."
"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."
Implement NumPy neural-network layers
This question evaluates competency in implementing neural-network layers and array algebra in NumPy, including matrix multiplication, broadcasting rul...
Design robber detection from surveillance video
This question evaluates applied machine learning and computer vision system-design skills, including precise task definition, data and labeling strate...
Build Churn Prediction and Survival Models
This question evaluates a data scientist's competency in end-to-end churn prediction and time-to-event modeling in the Machine Learning domain, coveri...
Compare two rare-event detection models statistically
You are evaluating two models (Model A and Model B) for rare-event detection (e.g., fraud, abuse, medical adverse event). Positives are extremely rare...
When do you use mixed-effects models
You are modeling a user outcome (e.g., watch time or retention) across many countries and many users. Observations are nested (multiple days per user;...
Predict Future Car Sale Prices
You are given transaction-level data from car dealers for calendar year 2018, and you need to predict vehicle sale prices for transactions that will h...
Determine When a Quadratic Has Finite Minimum
Consider the unconstrained real-valued optimization problem \[ \min_{x \in \mathbb{R}^n} f(x) = x^\top Qx + c^\top x, \] where \(Q \in \mathbb{R}^{n \...
How to rank statements by likelihood
This question evaluates proficiency in data interpretation, probabilistic reasoning, and statistical literacy for ranking statement likelihoods from v...
How would you design delay and watchlist models?
You may be asked one or both of the following machine-learning case questions: 1. Flight-delay prediction case An airline wants a model that predicts ...
Design features for house price prediction
This question evaluates competence in feature engineering, data preprocessing, baseline regression modeling, and model evaluation for tabular price pr...
Build House Price Model Responsibly
This question evaluates a data scientist's competencies in end-to-end supervised learning pipeline design—covering train/validation/test strategy, tar...
Model Soccer Shot Conversion
This question evaluates probabilistic predictive modeling, spatial-temporal feature engineering, model calibration and evaluation, and identification ...
Build a Housing Price Prediction Model from Historical Data
You are given a historical dataset of residential real-estate transactions — sale records with property attributes, location information, and sale dat...
Critique a CNN-Based Bridge Safety Proposal
A proposed project collects bridge drawings from Wikipedia, trains a CNN to predict whether a bridge will collapse within the first X years after cons...
Explain core probability and ML statistics concepts
Answer the following short theory questions (you may use equations and brief examples): Probability 1. You roll two fair six-sided dice. - What is ...
Build a Churn Prediction Model
This question evaluates a candidate's competency in end-to-end churn modeling, including precise label definition, point-in-time feature engineering a...
Solve Dice Probability and Matrix Questions
This question evaluates probability reasoning for modular distributions of sums of independent dice and linear algebra competency regarding matrices w...
How detect duplicate card records?
You are given a dataset of credit card transaction records and suspect that some records are duplicates. Discuss: - What real-world situations could c...
Four Fair Coins: Expected Payoff and Pricing Two Magic Wands
You play the following game: four fair coins are tossed at the same time. For every coin that lands heads, you are paid \$1. The interviewer walks you...
Explain logistic regression vs forests and boosting
Technical Screen — Machine Learning Answer all parts precisely. 1) Binary logistic regression: model, loss, gradient, convexity - Define the model: p(...