Data Scientist Machine Learning Interview Questions
Practice the exact questions companies are asking right now.

"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 robber detection from surveillance video
You’re a Data Scientist on a team building a computer-vision system for public-safety monitoring. Problem Design an ML system that uses fixed surveill...
Predict Bike Dock Demand
You are working on a docked bike-sharing system. Build a model that predicts how many bikes will be checked out from a specific dock in the next hour....
Design a Homepage Store Recommender
You are designing the homepage store recommendation system for a food-delivery app similar to DoorDash. When a user opens the app, the online request ...
Debug and fix a PyTorch Transformer training loop
Minimal Causal LM Debugging and Optimization Context You are given a tiny causal decoder-only language model implemented in PyTorch. It appears to "tr...
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...
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...
Design a short-video recommender system
ML System Design — Short-video recommendation Design an end-to-end recommendation system for a short-video feed (TikTok/Reels-style). Walk through the...
Explain KNN and how to tune it
K-Nearest Neighbors (KNN) fundamentals You are interviewing for a Data Scientist role. 1. Explain how the KNN algorithm works for both classification ...
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...
Design multimodal deployment under compute limits
You need to answer a set of questions related to multimodal model deployment and post-training optimization in an interview. Provide systematic explan...
Design a lead-scoring model
Context You are interviewing for a Data Scientist role on a marketing/growth team. The business wants lead scoring: ranking or scoring incoming leads ...
Handle imbalance, validate samples, and avoid overfitting
Answer the following applied ML questions. 1) Class imbalance You’re building a binary classifier where positives are rare. - What are practical ways ...
Implement K-means and handle train-inference mismatch
Part A — K-means (implementation + concepts) You are given a dataset \(X \in \mathbb{R}^{n \times d}\) and an integer \(k\). 1. Explain K-means: what ...
Design homepage store recommendations
Design a DoorDash-like homepage recommendation system for local stores/restaurants. Request context - The online request contains very little informat...
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 features for house price prediction
Scenario You are building a model to predict house sale price from a tabular dataset (similar to typical real-estate datasets). The interviewer expect...
Explain project details, PCA, and SHAP
Interview prompt (ML project deep dive) You are interviewing for a Data Scientist role. The interviewer asks you to pick one ML project you have perso...
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...
How would you design an ETA prediction system?
Design an end-to-end ETA (Estimated Time of Arrival) system for a maps / ride-hailing / delivery product. Assume users request an ETA for a trip from ...
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 ...