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 crawler and bracket validator
Implement two tasks: ( 1) Write a function crawl(start_urls, fetch, max_depth, domain_filter) that visits pages starting from the given seed URLs usin...
Deep dive into a past project
Deep Dive: Past Project You Led or Owned Provide a thorough walkthrough of a project where you had ownership or leadership responsibility. Cover the f...
Model advertiser intake database schema
Model advertiser intake database schema Advertiser Intake and Campaign Data Model (F1-style) Context You are designing a multi-tenant advertiser intak...
Count Distinct PII in Underwriting Events
Count Distinct PII in Underwriting Events An event stream contains underwriting and fraud_flag events. Count the distinct nonempty personally identifi...
Find Players with Uniquely Determined Rankings
Find Players with Uniquely Determined Rankings Problem There are n players numbered 0 through n - 1. Each result (winner, loser) states that the winne...
Describe a Machine Learning Project
In a Lead Machine Learning Engineer interview, present one machine learning project that you led or substantially owned. In 2-4 minutes, cover: - A 20...
Describe Over-Engineering and UX Wins
After a project deep dive, the interviewer asked two behavioral questions: 1. Describe a time when you designed or implemented something that became m...
Design a Top-K trending service
This question evaluates skills in distributed system design, real-time stream processing, scalable aggregation, windowing semantics, and trade-offs ar...
Design sliding-window rate limiter with multi-keys
Design sliding-window rate limiter with multi-keys Design a Precise Sliding-Window Rate Limiter Context You are designing a rate limiter for an API th...
Find target using robot movement API
You control a robot in an unknown 2D grid. The grid layout and boundaries are unknown, and you cannot access the map directly. Some cells are blocked ...
Design multimodal deployment under compute limits
You need to answer a set of questions related to multimodal model deployment and post-training optimization in an interview. Provide systematic explan...
Design a Conversational Flight Search, Booking, and Price-Tracking Service
Design a Conversational Flight Search, Booking, and Price-Tracking Service Design a service for roughly 30 million daily active users. A user can chat...
Implement a CSV dataset join
Implement joinDataSet(fieldName, customerFile, processorFile, skipUnmatched). You are given two datasets represented as List<String>, where: - custome...
Handle scope creep and teammate conflict
Behavioral & Leadership Two-Part Prompt (Data Scientist — Technical Screen) You will answer two behavioral prompts relevant to a data scientist role. ...
Design long-tail search evaluation under label budget
Estimating ΔNDCG@10 With Limited Labels Under a Heavy-Tailed Query Mix You serve ~100M queries/day. Query frequencies follow a Pareto distribution wit...
Estimate unbiased ad scores with many reviewers
This question evaluates a candidate's skills in hierarchical and mixed-effects modeling, latent-variable estimation, debiasing rater severity and scal...
Compute p-values, probabilities, and regularization choices
Answer all parts. A) Hand‑compute a two‑sided p‑value comparing two means using Welch’s t‑test. Sample A: n1=20, mean1=5.2, sd1=1.1. Sample B: n2=24, ...
Optimize assembly-line scheduling with changeovers
You are scheduling a simplified car-assembly line with two parallel stations S1 and S2. Each job must be processed on exactly one station, processing ...
Prioritize a 6-hour take-home effectively
You are given a take-home similar to the above with a suggested 6-hour limit but a scope that could take much longer. Describe, concretely, how you wo...
Design and analyze a free-trial A/B test
A/B Test Design: 1‑Month Free Trial Impact on Paid Subscription Conversion You are evaluating whether offering a 1‑month free trial increases paid sub...