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 a Tic-Tac-Toe game class
Problem Implement a class that supports playing an n × n Tic-Tac-Toe game. Requirements Create a class TicTacToe(n) with: - move(row, col, player) -> ...
Solve queue switch and coin change puzzles
This entry contains two separate interview-style quantitative/algorithmic questions. --- 1. Queue switching decision problem You are standing in a sin...
Remove shortest subarray to sort array
Given an integer array nums (length up to 2×10^5), return the shortest subarray [L,R] you can remove so that the remaining elements form a non‑decreas...
Design a robust traffic forecasting pipeline
This question evaluates a candidate's competency in end-to-end time-series forecasting pipeline design, covering data cleaning and missing-value handl...
Build and evaluate donation propensity model
You need a model to maximize expected net revenue from solicitations. Costs: online reach costs $1 per person; gala attendance costs $100 per attendee...
Describe resolving ambiguity under pressure
Tell me about a time you were given an ambiguous, calculation-heavy case and the interviewer or stakeholder kept pushing you to 'not go too far.' Desc...
Explain helping-others trade-offs with evidence
Describe a specific situation where you proactively helped others at work despite conflicting priorities. Include: a) your objective and stakeholders;...
Build a model to infer home vs office vs public
You must infer whether a Facebook session’s network context is home, office, or public venue to inform Portal targeting. Constraints: IPs may be share...
Compute sample size and test duration
You will run a two-arm A/B test on a signup funnel. Given: baseline conversion p0 = 4.0%; you care about detecting a 10% relative uplift (p1 = 4.4%); ...
Size opportunity for new product line
An e-commerce site considers adding a "Home Office" product line. Before any A/B test, size the opportunity and recommend whether to proceed. Assumpti...
Evaluate and prioritize Facebook Groups
This question evaluates product analytics, experimentation design, causal inference, KPI hierarchy and metric-definition skills, and quantitative prio...
Run a clean A/B test for recommendations
You must run an A/B test to evaluate the new hashtag recommender starting on 2025‑09‑01. 1) Define the randomization unit (user/session/impression) an...
Prioritize a new warehouse proposal with data
Build vs. Lease vs. Defer: New Fulfillment Center Decision Context You are evaluating whether to open a new fulfillment center (FC) to improve deliver...
Maximize credit card portfolio profit
This question evaluates competence in credit-risk quantification, portfolio profitability analysis, approval decisioning and experiment design for a D...
Select and tune XGBoost hyperparameters
Binary Classification Under Compute and Imbalance Constraints Context You are training an XGBoost model for a binary classification problem with: - 1,...
Write left-join queries with tricky filters
Assume 'today' = '2025-09-01'. Do NOT use window functions (e.g., RANK). Use LEFT JOIN, COUNT(DISTINCT), GROUP BY, HAVING as appropriate. Schema: - us...
Compare Instagram vs. Facebook using causal experiments
Compare Instagram and Facebook for consumer time and engagement: a) Define a single-objective OEC that captures healthy cross-app ecosystem value with...
Model comment count distribution and validate assumptions
You observe daily comment counts per post on a large social app are highly skewed with many zeros. a) Choose an appropriate discrete model among Poiss...
Detect sessions and gaps using SQL LEAD
Write a single ANSI-SQL query that (a) assigns per-user session_ids when the gap between consecutive events exceeds 30 minutes, (b) computes session_s...
Describe resolving a high-stakes research disagreement
Describe a time you and a stakeholder strongly disagreed on the framing or interpretation of a technical problem (e.g., a probability/statistics assum...