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."
Answer OoO, caches, and memory-system questions
You are interviewing for a CPU/DV role. Provide clear explanations (and small worked examples where useful) for the following computer architecture to...
Implement and Test a Sliding-Window Rate Limiter
Implement and Test a Sliding-Window Rate Limiter Design an in-memory limiter with allow(key, timestamp) for a configurable maximum number of requests ...
Solve Shortest Paths and Rental Allocation
This question evaluates understanding of shortest-path algorithms and reachability in weighted graphs (including directed vs. undirected handling and ...
Compute and interpret 95% confidence intervals
Answer all parts. Show formulas and intermediate values. A) An A/B test measures conversion: Variant A has 410 conversions out of 5000 visitors; Varia...
Design pricing and multivariate button experiments
You join a B2B SaaS firm with three public tiers (Basic $25/month, Pro $50/month, Enterprise = sales-quoted). The PM asks for a 2‑week A/B test to rai...
Narrow a confidence interval for a mean
You have a simple random sample with n = 100 and sample mean 100. The current 95% CI for the population mean is 100 ± 10, which a PM says is too wide....
Estimate unbiased ad scores with many reviewers
This question evaluates a candidate's skills in hierarchical and mixed-effects modeling, latent-variable estimation, debiasing rater severity and scal...
Build referral chains and detect cycles
You are given a directed referral graph where each user may have at most one referrer. Input file 'referrals.csv' has columns: user_id (INT), referred...
Demonstrate leadership under ambiguity
Describe a time you faced an open-ended, lightly guided interview or project where the counterpart had a strong accent and offered little direction. H...
Perform no-intercept linear regression from two datasets
You are given two pandas datasets to fit an OLS model without an intercept (through origin). Dataset A (features): df_X(user_id, clicks, impressions)....
Diagnose outliers and influence in linear regression
OLS Diagnostics: Outliers, Leverage, Influence, and Cook's Distance Context You are fitting an ordinary least squares (OLS) linear regression with an ...
Experimentally evaluate jogging-route recommendations
Design an Evaluation for Jogging Route Recommendations in Maps Objective Design an A/B test and evaluation framework for recommending optimal jogging ...
Diagnose a metric drop in search time
Over the last 3 calendar months, the metric 'searching time per user per session' dropped by 35%. A teammate proposes modeling two distributions: T1 =...
Prioritize a 6-hour take-home effectively
You are given a take-home similar to the above with a suggested 6-hour limit but a scope that could take much longer. Describe, concretely, how you wo...
Calculate CI and Test Correlation Under Normality
Inference on a Mean, Significance of a Correlation, and a Normal Quantile Assume standard parametric conditions (normality as stated). Show formulas, ...
Build DID panel and compute effects in SQL
Using the schema and toy data below, write SQL to construct a user-week panel and compute a clean pre/post DID dataset for first reminder exposure. Re...
Compute incremental profit, breakeven, and revenue sensitivity
Question You are evaluating whether to add a vegan burger line in Year 1. Use the following assumptions (m = million): - Fixed training cost: $60m/yea...
Compute sample size and analyze A/B results
A/B Test: Sample Size, Sequential Correction, and Post-Experiment Analysis Context You are planning a two-arm A/B test with a binary (Bernoulli) conve...
Find the Largest Monotone Increasing Number
Find the Largest Monotone Increasing Number Problem Given a non-negative integer n, return the largest integer less than or equal to n whose decimal d...
Check Whether Digits Are Monotone Increasing
Check Whether Digits Are Monotone Increasing Problem A non-negative integer has monotone increasing digits when every adjacent pair of digits is non-d...