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."
Contrast L1 and L2 regularization effects
Ridge (L2) vs Lasso (L1) in Linear and Logistic Regression Context: You are comparing L2 (Ridge) and L1 (Lasso) regularization for linear and logistic...
Design an A/B test with guardrails
A/B Test Plan for a New Checkout Flow (Onsite Data Scientist) Context: You will run an online experiment of a new checkout flow. The baseline conversi...
Write SQL and Python for funnels/retention
Given the following schema and small samples, answer Parts A–C. Assume timestamps are UTC and "today" is 2025-09-01. Schema: users(id INT, country STR...
Evaluate Miami Ultrafast impact on orders
Instacart launched an Ultrafast delivery feature in Miami two months ago. You have weekly orders per geo for the past 52 weeks; Miami is treated from ...
Diagnose 4% weekly revenue drop using history
This question evaluates time-series forecasting, anomaly detection, decomposition, and attribution skills within analytics and experimentation, focusi...
Match requests and accepts into friendships in SQL
Given two event tables, write a single SQL query (PostgreSQL) to output unique undirected friendships with the earliest valid friendship_date. Schema ...
Reflect on feedback and metric trade-offs
Describe a time you chose a simpler metric under tight time constraints and later received critical feedback that it was oversimplified (e.g., from a ...
Define composite success for search and test it
A new search feature is evaluated with two binary labels per query: relevancy=1/0 and accuracy=1/0. 1) Propose a composite success metric that uses th...
Contrast FCF vs NI; choose one statement
An asset-heavy company reports rising net income while free cash flow (FCF) is negative for three straight quarters. a) Explain when and why FCF can b...
Lead innovation and automate a critical process
Describe a specific project where you led an end-to-end innovation from idea to production. Be concrete: - What was the problem, constraints, and succ...
Handle conflict and time-pressured decision
Describe a time you had to make a high-stakes recommendation under time pressure when key stakeholders disagreed (e.g., ops wants to ramp a change tha...
Drive app installs from web traffic
This question evaluates experimentation design, funnel and metric specification, attribution and incrementality measurement, segmentation, and causal ...
Analyze omitted-variable bias in regression
Omitted-Variable Bias, Heteroscedasticity, and Remedies Setup - True data-generating process (DGP): Y = β0 + β1·Temp + β2·Occupancy + ε - Assumption...
Design end-to-end regression for energy demand
End-to-End Daily Energy Prediction for Commercial Buildings Context You are asked to design and justify an end-to-end regression system that predicts ...
Demonstrate leadership under disagreement
Behavioral: Disagreeing on a Launch Under Deadline (Data Scientist) You are a Data Scientist interviewing onsite for a behavioral and leadership round...
Diagnose rising account switching and falling actives
Diagnostic Plan: Account Switching Up, Active Users Down Context You observed a sudden pattern: the number of users switching accounts increased, whil...
Persuade engineers to launch pinned-unread chats
Pitch: Pinning Conversations for High-Unread Users Context You are proposing a feature that pins a small set of conversations to the top of the inbox ...
Calculate break-even new customers for a 30% Rent-a-Home discount
Question Capital One (C1) is evaluating a promotional offer on its Rent-a-Home (RH) product and wants you to size the unit economics. Base assumptions...
Create and query an e-commerce schema
PostgreSQL only. 1) Create these tables with appropriate types and constraints (choose minimal correct types): products(product_id PK, name NOT NULL, ...
Write SQL to find top net-revenue products
Using the sample schema and data below, write a single SQL query that returns, for the last 7 days relative to today (use today = 2025-09-01, so the w...