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."
Estimate Volatility from Gaussian and Brownian Samples
You are given two statistical estimation problems. 1. Let X_1, ..., X_100 be independent samples from N(0, sigma^2), where the mean is known to be 0 a...
How would you design an ETA prediction system?
This question evaluates a data scientist's capability to design an end-to-end ETA prediction system, testing competencies in machine learning modeling...
Compare XGBoost and LightGBM
In a machine learning interview, explain the key differences between XGBoost and LightGBM for a tabular booking-conversion prediction problem. Your an...
How to design Shop ad ranking
This question evaluates a candidate's expertise in machine learning and data science for ad ranking systems, including objective formulation and trade...
Diagnose and fix underperforming ML model
Rapidly Improving Recall Under Class Imbalance (One-Day Plan) Context You inherit a binary fraud detection model with severe class imbalance (positive...
Tune metrics for imbalanced classification
Fraud Detection With Rare Positives (0.5%) and Messy Data You are designing a supervised transaction-level fraud detector. Positives (fraud) are rare ...
Design ML deployment with GitHub and Jenkins
This question evaluates MLOps and production machine learning engineering competencies, covering repository and environment management, model and data...
Design email to avoid Promotions without online tests
Offline Design of a Transactional Email to Minimize Promotions/Spam Classification Context You must finalize the design of a single in‑game transactio...
Train and evaluate logistic model with regularization
Binary Classification with Logistic Regression and Regularization Data - Two CSVs: a training set x and a test set x_test. - Each has 7 columns: - C...
Predict job changes month by month
Predict Monthly Job-Change Risk (Discrete-Time Survival Setup) Context You are building a monthly model to predict the probability that a LinkedIn mem...
Explain OS usage gap via trees
iOS vs. Android Usage Gap: Modeling, Causality, Telemetry, Missing Data, and Segmented Actions Context You observe that Instagram usage is substantial...
Choose linear regression or decision tree appropriately
Choose Between Linear Regression and a Decision Tree Under a Hinge and Interaction DGP Context You have 100,000 i.i.d. observations with features x1 (...
Estimate heterogeneous treatment effects with causal ML
Context You are given large-scale, logged observational data from an always-on promotion. Each record contains features X (user/context), a binary tre...
Identify top exposures and mitigate
Identify top exposures and mitigate Portfolio Risk Identification and Mitigation Proposal Context You are evaluating a commercial/corporate lending po...