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."
Design a Regression Model for Robust Extrapolation Performance
Design a Regression Model for Robust Extrapolation Performance Scenario Onsite machine-learning exercise: your task is to build a regression model usi...
Identify Unsupervised Techniques for Detecting Fraudulent Transactions
Identify Unsupervised Techniques for Detecting Fraudulent Transactions Unsupervised Fraud Detection: Modeling and Evaluation Without Labels Scenario Y...
Compute EL and RWA from loan data
Compute EL and RWA from loan data Task: Compute Portfolio EL and RWA from Loan-Level PD, LGD, EAD Context You are given an anonymized, loan-level data...
Handle missing values for LGD modeling
Handle missing values for LGD modeling Handling Missing Values for LGD Modeling Context You are building a Loss Given Default (LGD) model using accoun...
Explain Train-Test Performance Gap
This question evaluates a candidate's competency in diagnosing model generalization failures for both classical machine learning and deep learning sys...
Evaluate OutlierHandler Class for Code Quality and Testing
Code Review: OutlierHandler and Imputer Classes You are given a Python module that implements one OutlierHandler class and three Imputer classes for p...
Engineer Features to Enhance Smartphone Battery Life Prediction
Battery Life Prediction with Sparse History You are given sparse discharge traces that record battery percentage over elapsed time for prior usage ses...
Design Real-Time Credit Card Fraud Detection System
Design a Real-Time Credit-Card Fraud Detection System You are designing a real-time fraud detection system for an online payments platform that proces...
Design Framework for Robust House-Price Prediction Model
Design a Framework for a Robust House-Price Prediction Model You are building and evaluating a supervised model to predict residential house prices in...
Build Predictive Model for Buyer Engagement Uplift
Predict Engagement Uplift for a New "Show Similar Products" Button A new "Show similar products" button may change buyer engagement. You need to build...
Propose an ads recommendation model for shop ads
You need to propose a modeling approach for recommending/ranking shop ads (i.e., which shop ads to show and in what order) for a marketplace app. Desc...
Design a robust traffic forecasting pipeline
This question evaluates a candidate's competency in end-to-end time-series forecasting pipeline design, covering data cleaning and missing-value handl...
Build a model to infer home vs office vs public
You must infer whether a Facebook session’s network context is home, office, or public venue to inform Portal targeting. Constraints: IPs may be share...
Select and tune XGBoost hyperparameters
Binary Classification Under Compute and Imbalance Constraints Context You are training an XGBoost model for a binary classification problem with: - 1,...
Design navigation-safety simulation parameters and experiments
This question evaluates competency in designing simulation-based safety evaluations for autonomous navigation, including specification of scene parame...
Apply reinforcement learning to product decisions
This question evaluates expertise in reinforcement learning and sequential decision-making for product optimization, covering MDP formulation, contras...
Explain and quantify bias-variance tradeoff
This question evaluates understanding of the bias–variance tradeoff, the expected test-error decomposition into irreducible noise, bias^2, and varianc...
Explain why LASSO selects features
Explain why LASSO performs feature selection. Provide: 1) high-level intuition comparing L1 vs. L2 penalties; 2) geometric interpretation of the const...
Design ML ranking for query suggestions
Re-rank Query Suggestions for Autocomplete Context You are building a re-ranking system for search autocomplete. For each keystroke, a candidate gener...
Design anomaly detection and handle imbalanced logistic regression
This Machine Learning interview question evaluates a data scientist's competencies in supervised logistic regression modeling, class imbalance managem...