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

"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."
Traverse a Matrix in Spiral Order
Traverse a Matrix in Spiral Order Problem Given an m x n matrix, return all elements in clockwise spiral order. Begin at the top-left corner, move rig...
Model network-service unit economics and breakeven
A network service charges $40/month with the first 3 months free. Costs: variable service cost $25 per active month; one-time install cost $35 at acti...
Match Netflix profit; derive required subscribers
Subscription Profit and Break-even (All Monthly) Assume all figures are monthly and "M" denotes millions. We model subscription profit as: - Profit = ...
Define and validate an airline profitability metric
Airline Route Profitability Metric with Quality Guardrails Context You need a single, decomposable primary metric for airline route profitability that...
Define and sample a truncated normal
Define the truncated normal Z | a < Z < b for Z ~ N(0,1): write the normalized pdf and cdf. Then design efficient samplers for three cases: (i) a = 1,...
Test if one value comes from N(μ,σ²)
This question evaluates understanding of hypothesis testing and statistical inference, specifically the formulation and interpretation of a z-statisti...
Build leak-safe sklearn model with calibration
You must build an end‑to‑end scikit‑learn pipeline to predict churn_28d at decision time t0 using only features available at or before t0 (no leakage)...
Predict and act on contract renewal risk
Predicting Enterprise Contract Renewal After a Quality Incident Context A video-conferencing provider experienced a spike in call disconnects. You nee...
Design a clustered A/B test with spillovers
This question evaluates a data scientist's understanding of cluster-randomized experiments with spillovers, covering causal inference under interferen...
Compute posterior spam risk from flags
A binary classifier flags spammy requesters. Last week the base rate of spam among all requesters was 12%. The classifier has true positive rate (TPR)...
Design a switchback and choose block length
Switchback Experiment Design: Airport Pickup Pricing with Spillovers You are a data scientist designing a switchback (time-based A/B) experiment to ev...
Compute sample size and significance
You are planning a two-variant A/B test with equal allocation and a binary primary metric (conversion). Baseline rate p0 = 0.045. You want to detect a...
Explain AUC, imbalance, losses, and networks
This question evaluates a candidate's understanding of imbalanced classification and regression concepts, including ROC/PR curves and AUC, prevalence ...
Compute posterior and predictive coin probabilities
Bayesian coin: posterior, prediction, and stopping-time expectation Context - You have two coins and will use the same coin for all flips: - Fair co...
Detect and suppress bad sellers robustly
This question evaluates a candidate's competence in designing end-to-end machine learning risk systems, including label strategy and triage, feature e...
Design rigorous A/B test and causal analysis
Experiment Design and Causal Inference: Multi-part Problem Context: You are designing a high-traffic web A/B test on a binary conversion metric. Answe...
Handle an irate passenger after flight delay
Role-Play: Irregular Operations Recovery and Communication Plan Scenario - A flight is delayed 5 hours due to a crew time-out cascading from weather a...
Forecast response-rate trends with backtesting
This question evaluates proficiency in time-series forecasting and model validation, including feature engineering, model selection, rolling-origin ba...
Achieve 0.95 precision via thresholding
Deploying a High-Precision Classifier on an Imbalanced Dataset You are given a binary classification problem with 50,000 samples and ~5% positives. Th...
Estimate billboard reach and impressions
Digital Billboard: Weekly Reach, Impressions, and Store-Visit Attribution Context You are estimating the performance of a single digital billboard bes...