Data Scientist Machine Learning Interview Questions
Practice 399 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."
Explain train-test generalization gap
A model performs very well on the training set but much worse on a held-out test set. Explain why this can happen and how you would diagnose and fix i...
Build a leak-free sklearn churn pipeline
Take‑Home ML Task: Reproducible Subscription Classification Pipeline You are given a daily user-level dataset and must build a reproducible Python (sc...
Model flight delays with EDA and explanation
Predicting 15+ Minute Arrival Delays at Scheduled-Departure Time You are building a binary classifier that predicts whether a domestic flight will arr...
How would you explain PCA and SHAP?
Question You are interviewing for a Data Scientist role at Point72, a systematic / quantitative investment firm. The interviewer asks you to pick one ...
Analyze trading RFQ competitiveness data
RFQ Competitiveness Analysis in Excel You are given an Excel file containing a few months of trading RFQ (request-for-quote) data for a sales & tradin...
How predict vehicles’ turn direction at intersection?
At an intersection, there are N vehicles stopped or moving slowly. For each vehicle you have historical time-series data up to the current time: - Pos...
Compute gambler’s ruin probabilities and hitting times
A gambler plays a sequence of independent bets. Starting wealth is \(i\) dollars, with absorbing boundaries at \(0\) (ruin) and \(N\) (target). Each r...
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 \...
Handle imbalance, sampling, and overfitting
Practical ML questions (classification and generalization) Answer the following ML engineering/data science questions. A) Class imbalance You’re train...
Analyze Product Launch and Creator Engagement
You are interviewing for a Data Scientist intern role at a short-video platform. Use a recent data or machine-learning project from your resume as the...
Design navigation-safety simulation parameters and experiments
You must design a simulation-based evaluation for navigation safety of an autonomous agent. Be specific: a) Enumerate scene parameters to vary and jus...
Predict bike demand and avoid overfitting
You are given historical data for a city bike-sharing system. Available fields include station_id, hourly timestamp, number of bike pickups and return...
How to deploy and tune multimodal models?
Question You are interviewing for a new-grad machine learning / data scientist role at ByteDance. Answer the following related machine-learning and LL...
Build ETA prediction and simulate impact
Predicting Delivery ETA (Minutes) Context You are given a take-home dataset with order-, store-, and dasher-level features. The goal is to predict del...
Compute and plot a precision–recall curve
Precision–Recall (PR) curve coding / evaluation You are given a binary classifier’s outputs on a dataset: - y_true: array of true labels in \(\{0,1\}\...
Design an ad recommendation and ranking system
You are building an ad recommendation/ranking system for a content feed (e.g., short-form videos). At each feed position, you may show either an organ...
Diagnose overfitting from error curves
You are evaluating a supervised machine learning model. You are shown a plot where the x-axis is training epoch or model complexity and the y-axis is ...
Explain AUC, activations, ensembles, and imbalance
Machine Learning Metrics and Modeling Choices — Multi-part You are given model scores and binary labels for a small dataset and asked to compute ROC A...
Design Real-Time Fraud Detection with XGBoost Model
Design Real-Time Fraud Detection with XGBoost Model Real-Time Fraud Detection with XGBoost (Subscription Payments) Scenario You need to build and oper...
Explain Medical AI Data and Evaluation
You are discussing a prior project on medical conversational AI. Assume proprietary production data is limited, so you may begin with open-source heal...