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."
Compare average unit profit under mix shift
This question evaluates competency in basic statistics and arithmetic applied to unit economics, specifically understanding weighted averages and sale...
Compute multi-account activity and unread percentages in SQL
You are given two tables. Use them as the source of truth and do not assume any other data. Table: notifications +--------+------------+------------+-...
Design and analyze batching algorithm experiment
This question evaluates experiment design and causal inference competencies—covering geo-randomization and spillover control, precise metric specifica...
Write complex SQL on DoorDash data
You are given the following BigQuery-style schema and tiny samples (assume timestamps are UTC; assume promotions.discount_amount is the applied discou...
Solve multi-part SQL with sliding windows
Assume 'today' is 2025-09-01. You are given the following tables. users(user_id INT PRIMARY KEY, signup_date DATE) orders(order_id INT PRIMARY KEY, us...
Solve SQL CTR and Python analytics tasks
Part A — SQL: Compute click-through rate (CTR) by pin_format for US new users. New users are those whose signup_date is within 30 days (inclusive) of ...
Compute average unique pins per user
Task: Average Unique Pins Per User You are given a mapping from user IDs to their lists of pin IDs. Implement a function that computes the mean number...
Design SQL cleaning, mapping, dedupe, and keying
Assume PostgreSQL 15. You may choose a different SQL dialect if you clearly state it and adapt syntax accordingly. Schema and small sample data: - Tab...
Match prior-year profit with new fixed costs
This question evaluates cost–volume–profit analysis, unit economics, and algebraic modeling of fixed versus variable costs in a multi-product sales mi...
Identify and validate risky assumptions
This question evaluates experimental design, causal inference, and business-analytics competencies for a Data Scientist by testing the ability to iden...
Decide launch with p=0.10 at alpha 0.05
This question evaluates a data scientist's competency in statistical inference and experiment decision-making, including frequentist hypothesis testin...
Define goals and success metrics for subscriber-only features
This question evaluates a data scientist's competency in product analytics and experimentation, specifically goal selection, success metric definition...
Design and justify unread-account pinning experiment
This question evaluates a data scientist's competency in experimental design, causal inference, metric definition, instrumentation, and analysis for p...
Write SQL for cuisine median delivery times
Use SQL to answer the following. Assume ANSI SQL with window functions and percentile functions available. Treat “today” as 2025-09-01 (inclusive). Co...
Map sources to functional dataset with SQL
You must produce a functional, consumption‑ready dataset for daily exposure monitoring. Assume “today” = 2025‑09‑01. Use the last 7 calendar days by t...
Define scalable train/validation for churn
This question evaluates a data scientist's competency in designing scalable, leakage-safe training, validation, evaluation, and serving pipelines for ...
Choose tests for rare-event A/B analysis
This question evaluates expertise in statistical experiment design for rare binary outcomes, covering hypothesis test selection for low-event-rate pro...
Design and analyze notification pinning experiment
This question evaluates experimental design, causal inference, metric definition and instrumentation, sample size estimation, and analysis skills in t...
Query email logs for deliverability insights
Using the schema and sample data below, write SQL to answer parts a–c. Assume timestamps are UTC. Today is 2025-09-01. Schema: - Emails(sent_id INT, m...
Compute CTR by format for new US users
You are given three tables. Write a single SQL query to compute click-through rate (CTR) by pin_format for NEW users in the US, where NEW users are th...