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."
Design and evaluate an A/B test for launch
A/B Test Design: New Matching Model for a Two‑Sided Marketplace Context You are testing a new matching/ranking model that determines which providers a...
Compute averages and binomial/Poisson probabilities
Streaming Mean and Binomial vs Poisson Approximation Part A — Streaming Mean Update You have an existing dataset of N = 1,000 observations with mean 1...
Lead cross-functional decision without RCT evidence
Behavioral: Ship vs. Rollback After a Global Launch Without a Holdout Context You are a Data Scientist in a consumer marketplace. An important feature...
Design A/B test for credit card offer
A/B Test Design: New Credit-Card Acquisition Flow (Revised APR Disclosure + Signup Bonus) Context You are launching a new credit-card acquisition flow...
Design and analyze ad A/B test
A/B Test Analysis Plan: New Ad-Ranking Algorithm (B) vs. Production (A) Context: You are evaluating a new ad-ranking algorithm (B) against the current...
Analyze time series and design validation experiment
This question evaluates competency in time series analysis, change-point detection, count-based forecasting, causal inference and experiment design, a...
Demonstrate handling dismissive stakeholders with candor
Behavioral Prompt: Managing Adversarial Dynamics While Driving Outcomes Context You are interviewing onsite for a Data Scientist role. A senior interv...
Discuss ML infrastructure fundamentals
Discuss ML infrastructure fundamentals ML System Design: Infra Stack, Feature Store, Reproducibility, and Monitoring Context: You are designing and op...
Design a batched inference API
This question evaluates competency in designing scalable, low-latency ML inference systems with dynamic batching, covering system architecture, reques...
Implement polynomial multiplication API in C
This question evaluates proficiency in C programming, API design, low-level data representation for polynomials, and algorithmic competence in perform...
Compute point-to-segment minimum distance
This question evaluates understanding of computational geometry and numerical robustness, testing the ability to compute Euclidean distances between a...
Decide if a dice-betting game is favorable
You are considering a game against a “house” using fair six-sided dice. Rules: - You roll one die; the house rolls one die. - If your roll is strictly...
Explain Type I/II errors vs precision/recall
This question evaluates understanding of statistical hypothesis testing (Type I and Type II errors) and their relationship to binary classification me...
How do you choose a classification threshold?
Context You built a binary sentiment classification model (e.g., positive vs. negative) and need to deploy it in a product where actions depend on the...
Implement Linear Regression Gradient Descent
This question evaluates understanding of simple linear regression, batch gradient descent, loss function formulation, gradient derivation for model pa...
Design a ranking and recommendation system
This question evaluates a candidate's competency in designing end-to-end ranking and recommendation systems, covering candidate generation, ranking, f...
Compare preference alignment methods for LLMs
This question evaluates expertise in preference alignment techniques for large language models—including supervised fine-tuning, RLHF-style reward-mod...
Forecast bikes available at a station
This question evaluates proficiency in time-series forecasting, feature engineering, handling temporal data splits, and incorporating operational cons...
Design globally consistent metadata service
This question evaluates expertise in distributed systems and system design, focusing on linearizable consistency, multi-region replication and partiti...
Answer core Python, CS, DB, and testing questions
This multi-part prompt evaluates core software engineering competencies including Python fundamentals (OOP, object/model behavior, iterators/generator...