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."
Diagnose coffee-shop profit decline
You run a single-location coffee shop. In August 2025, profit dropped 18% vs July while transactions fell 4% and average check rose 2%. You have these...
Design and analyze A/B test with interference
You must ship a News Feed ranking change where content produced by treated users can be seen by control users, creating interference and within-user c...
Explain motivations, background, and success metrics
Give a concise overview of your background in e‑commerce risk control (30–60 seconds). Then: (1) Why do you want to join our e‑commerce risk team spec...
Explain why LASSO selects features
Explain why LASSO performs feature selection. Provide: 1) high-level intuition comparing L1 vs. L2 penalties; 2) geometric interpretation of the const...
Contrast OLS, DiD, and PSM assumptions
This question evaluates proficiency in causal inference and econometric methods, specifically the ability to contrast OLS, two-way fixed-effects DiD, ...
Resolve a team conflict decisively
Tell me about a time you resolved a significant conflict within a team under time pressure. Include: 1) the root causes (interests, incentives, commun...
Demonstrate ownership beyond responsibilities
Describe a time you proactively took on work outside your defined responsibility to deliver a measurable business outcome. Include: 1) context, stakes...
Evaluate a government-buyer energy investment
This question evaluates financial modeling, risk assessment, commercial negotiation, and strategic decision-making for utility-scale renewable power p...
Handle repeated last-minute interview reschedules
You’re a candidate interviewing with TikTok. You requested a China-friendly time slot and it was confirmed, but two days later HR moved it. The second...
Explain background, team structure, and role fit
Answer the following in order: 1) Give a crisp 90‑second self‑introduction tailored to this role, emphasizing 1–2 quantifiable achievements most relev...
Compute CTR overall and by campaign type
Write SQL to compute: (Q1) overall click-through rate (CTR = clicks/impressions) in the last week; (Q2) CTR by campaign_type in the last week. Assume ...
Identify non-table data for feature demand
Evaluate Demand for a New "Group Call" Feature Using Non-Table Data and Experiments Context You are a data scientist evaluating whether to invest in a...
Explain approach and seek feedback effectively
Technical Screen: Communication in Live Coding and Internship Planning Part 1 — Live Coding Communication During a 20-minute live coding exercise foll...
Implement streaming autocomplete under tight memory
Build an autocomplete service: Input: a list of up to 5,000,000 UTF-8 words (may include accents and hyphens), each with an integer popularity score t...
Characterize and compare transfer-count distributions over time
P2P Transfer Counts in First 30 Days: Distribution, Summaries, and Evolution Context: For a new user cohort, define X as each user’s number of peer-to...
Design a clustered notification experiment with guardrails
You work on a mobile travel app (think TripAdvisor-like) that will test a new push-notification policy recommending nearby attractions. Design a rigor...
Design anomaly detection and handle imbalanced logistic regression
This Machine Learning interview question evaluates a data scientist's competencies in supervised logistic regression modeling, class imbalance managem...
Explain motivations, customer ownership, mentoring, and culture fit
1) Why are you leaving your current company? Answer in <90 seconds, avoid negativity, and tie your reason to specific growth you seek (e.g., owning an...
Find most co‑purchased product pairs in SQL
Given the schema and sample data below, write ANSI-SQL to return the top 5 unordered product pairs most frequently purchased together across distinct ...
Design a scalable video platform database
Design the relational database for a YouTube-like video company. Deliverables: 1) list the core tables with key columns, types, and constraints (users...