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."
Write SQL for lowest price with ratings
You have two tables. Schema: - products(product_id INT PRIMARY KEY, product_name TEXT, category TEXT) - purchase(purchase_id INT PRIMARY KEY, product_...
Build and evaluate airline delay prediction model
You are given several CSVs for the classic airline delay challenge with columns like flight_date, carrier, flight_num, origin, dest, sched_dep, sched_...
Decide event notification launch via experiments
This question evaluates a data scientist's competency in experimentation design, causal inference under network interference, metric engineering, and ...
Design cross-validation; explain bias–variance
Define cross-validation rigorously and compare k-fold, stratified k-fold, leave-one-out, nested CV, and time-series rolling/blocked CV. For a dataset ...
Transform messy transactions with pandas
You are given two CSVs. transactions.csv - Columns: txn_id, user_id, ts_iso (ISO8601 with timezone), amount (decimal USD; refunds negative), merchant_...
Diagnose location-sorted recommender causing revenue drop
This question evaluates skills in diagnosing production recommender systems, causal inference and experimentation, multi-objective ranking and safe ex...
Implement anagram check and stable deduplication
Part A — Anagram checker: Write a function is_anagram(a: str, b: str, locale: str = 'en') -> bool that returns True iff a and b are anagrams under the...
Explain your top strengths concretely
Behavioral Prompt: Strengths, STAR Evidence, and 90-Day Application Instructions State your top one or two strengths most relevant to a Senior Data Sc...
Handle challenges in MMM/MMX
MMM Fragility Diagnosis and Remediation Plan (Weekly, 156 Weeks) Context You inherit a weekly Marketing Mix Model (MMM/MMX) with 156 weeks of data. Th...
Launch and measure a TV campaign
6-Week Linear TV Experiment to Increase Flu Vaccinations Design a 6-week linear TV campaign and its measurement plan to causally estimate incremental ...
Improve low R² without p‑hacking
Predicting Contribution per Order with Low R² Context You are modeling contribution per order (a continuous per-order outcome such as margin or profit...
Choose tests under non‑normal, unequal variance
This question evaluates understanding of statistical inference for heavy‑tailed, heteroskedastic A/B test metrics, covering CLT conditions for t‑tests...
Compute A/B sample size under clustering
A/B Test Sample Size With Unequal Allocation, Clustering, and Attrition Context You are planning a two-arm signup A/B test (binary outcome: convert vs...
Design airport dispatch with ETA uncertainty
You control airport pickups with streaming ETAs for arriving flights and live driver locations/queues. Design an online dispatch algorithm that minimi...
Measure driver experience quantitatively
This question evaluates a data scientist's competencies in designing composite metrics, event-level aggregation, statistical validation, debiasing for...
Implement piecewise linear interpolation for time-to-empty
Time-to-Empty from a Discharge Curve (Piecewise Linear Interpolation) Implement a function time_to_empty(checkpoints, current_soc) that returns the nu...
Analyze shopping funnel with joins and windows
Write SQL (PostgreSQL) to analyze a 4-step shopping funnel: view_product → add_to_cart → checkout_start → purchase. Use the schema and sample data bel...
Determine intersection dimension of two 4D subspaces
This question evaluates linear algebra skills—specifically understanding of subspace dimensions, intersections and sums, and the dimension formula for...
Compute C/T metrics from bookings and visits
Given two tables, compute control vs treatment (C/T) metrics, apply 24‑hour attribution, and generate a daily plot. Treat “today” as 2025‑09‑01; use t...
Decide launch with CPA-profit trade-offs by segment
You receive an Excel with segment-level metrics for an A/B feature test. Decide whether to launch the feature for all users, only a segment, or not at...