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."
Implement Kac ring with O(1) color and kstep
You are implementing a Kac ring dynamical system. Model - There are N positions arranged in a circle, indexed clockwise: 0, 1, ..., N-1. - Each positi...
Explain why LLMs produce hallucinations
Large language models (LLMs) are known to "hallucinate"—that is, they sometimes produce fluent, confident answers that are factually incorrect or unsu...
Expected impressions per user under random assignment
Random Assignment of Ad Impressions Across Users In an A/B experiment, Y ad impressions are served uniformly at random across X distinct users. Each i...
Determining the optimal ad load in News Feed
Determining the Optimal Ad Load in News Feed You are asked to set a data-driven threshold for ad frequency, where ad load means the number of ads show...
Evaluating a 15 % reduction in post‑card height
Evaluating a 15 Percent Reduction in Post-card Height You own the feed UX for a social app. Designers propose shrinking each post card's height by 15 ...
Evaluate the Health of Facebook Groups
Group Health Metrics and Threaded Comments Experiment You are a Data Scientist working on a platform with Groups ranging from small hobby clubs to ver...
Assess LinkedIn Newsfeed Health
Evaluating the Health of LinkedIn Newsfeed You are assessing the health of LinkedIn's personalized newsfeed. Assume you can track user-, session-, and...
Analyze Trends to Diagnose Decline in Job Applications
Diagnosing a Week-over-Week Drop in Job Applications A job marketplace observes that daily application count has declined week over week. As the analy...
Adjust YouTube Ad Scores Using Mixed-Effects Linear Regression
Adjusting YouTube Ad Scores with Mixed-effects Regression One hundred reviewers each rate the same 100 YouTube ads on a 1 to 10 scale. Some reviewers ...
Explain Simpson’s Paradox and Its Causes with Example
Simpson's Paradox: Definition, Cause, and Example Demonstrate your understanding of Simpson's paradox in a statistics or analytics interview. Define t...
Design A/B Test to Isolate Product Usage Drop Causes
Investigating a Product Usage Drop with Experiments You observe that product usage fell by 10 percent in the U.S. and 11 percent in Mexico over the sa...
Determine Normality of Single Observation with Z-Test
Hypothesis Test for One Observation Against a Standard Normal You observe a single numeric value x and want to decide whether it could plausibly have ...
Track Key Metrics for Apple's New Phone Launch
Product Analytics Dashboard for a New Phone Launch You are a data scientist at a short-form video or social platform. Apple has launched a new phone a...
Quantify and Model Flight Delays Using Statistical Tests
Flight Delays: Quantification, Modeling, and Mitigation Testing You are a data scientist investigating flight delays using historical flight records a...
Assess Candidate's Remote Collaboration and Technical Proficiency
Behavioral Interview: Remote Cross-functional Data Scientist You are interviewing for a Data Scientist role on a cross-functional analytics team that ...
Calculate Profitability with Different Pricing Schemes
Unit Economics and Break-even Analysis You are evaluating a subscription product's monthly unit economics. Unless otherwise noted, fixed cost is $400 ...
Calculate Profit-Maximizing Price and Validate with Additional Data
Profit-Maximizing Price with Costs and a Demand Curve You sell a single software product at one price P. You are given fixed cost F, variable cost as ...
Evaluate Groupon's Impact on Restaurant's Profitability and Strategy
Evaluating a Groupon-Style Deal for a Restaurant You own a restaurant, and a Groupon-style deals website proposes selling discount vouchers for your v...
Compare Normal and Poisson Distributions in Statistics
Comparing Normal and Poisson Distributions You are modeling event counts, such as number of clicks, and continuous measurements, such as response time...
Investigate Traffic Distribution Impact on Retention Decrease
A/B Test Diagnostics: Traffic Distribution and Retention Drop An A/B test changed a button color from green in control to red in treatment. The primar...