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."
Explain SHAP and build an ML project
This question evaluates understanding of model explainability using SHAP and the competency to design and operationalize an end-to-end machine learnin...
Prove a Tight Lower Bound on a Latin Square's Lower-Triangle Sum
Consider an $n \times n$ grid ($n \ge 1$) filled with integers so that every row contains each of the numbers $1, 2, \ldots, n$ exactly once, and ever...
Write SQL to compute current product stock
This question evaluates SQL competence in aggregations and relational joins, including handling baselines, nullable data, temporal filtering, and accu...
Design a video-on-demand streaming service
This question evaluates a candidate's ability to design a large-scale video-on-demand streaming system, testing competencies in distributed systems ar...
Implement simulation-based portfolio optimizer in Python
Implement simulation-based portfolio optimizer in Python Given a pandas DataFrame 'returns' of daily asset returns (index: dates; columns: tickers) an...
Design a loan application system
Design a loan application system System Design: End-to-End Online Loan Application Platform Context Design a small online lending platform where appli...
Describe conflict where you yielded to others
Describe a time you had a conflict or strong disagreement at work, but ultimately decided to follow someone else’s approach instead of your own. In yo...
Define QKV for recommender cross-attention
You are designing a deep-learning–based recommendation system that uses a Transformer-style cross-attention block to model the interaction between a u...
Design a Slack-like messaging system
This question evaluates system design and distributed-systems competencies, focusing on real-time messaging architecture, data modeling, scalability, ...

Describe how you resolve conflicts at work
Interview-style behavioral question: "Tell me about a time you had a conflict with a teammate, stakeholder, or manager. What caused the conflict, how ...
Investigate cross-country engagement and ads experiments
This Analytics & Experimentation (Data Scientist) question evaluates skills in experiment design and causal inference, metric definition and trade-off...
Design a high-level logging system
Design a high-level centralized logging system for a company. Assume many services (microservices, batch jobs) running across multiple hosts/container...
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...
Write SQL for multi-account metrics
This question evaluates proficiency in SQL for multi-table aggregation, grouping, joins, and conditional counting within a user-account-notification s...
Assess card rewards profitability and break-even spend
Credit Card Unit Economics and Break-even Spend Context A bank is evaluating launching a credit card that pays 1% rewards on all purchases. Consider p...
Test a coefficient and explain t-distribution
In OLS, test whether feature j is relevant. a) State H0: β_j = 0 versus H1: β_j ≠ 0 and construct the t‑statistic t_j = b̂_j / se(b̂_j), giving the ex...
Build and evaluate bad-link classifier
You have 1,000 URLs labeled as bad or good and a much larger unlabeled pool, with bad links rare. Design features and train a logistic regression. Exp...
Assess education–income effect credibly
This question evaluates a data scientist's competencies in causal inference, experimental design, model selection, estimand specification (ATE) and se...
Handle p≈n linear regression with L1
This question evaluates competence in high-dimensional linear regression, penalized estimation (L1/L2/elastic net), preprocessing and feature handling...
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...