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."
Find the Minimum Processing Rate to Meet a Deadline
Find the smallest integer processing rate that completes independent workloads before a deadline when unused hourly capacity cannot be shared. The pro...
Convert Stack Samples into Trace Events
Convert Stack Samples into Trace Events The source reports converting sampled call stacks into trace events but does not provide the exact tuple forma...
Design Messaging With Message Deletion
Design a real-time messaging application with channels or conversations, message history, and message deletion. Focus especially on how deletion behav...
Fix Thread-Safe Trigger Synchronization
This question evaluates understanding of multithreaded synchronization, concurrency primitives, and memory-model correctness required to implement a o...
Analyze a Regression Dataset and Build a Safe File-Processing Utility
Analyze a Regression Dataset and Build a Safe File-Processing Utility You receive a feature matrix X and a continuous target y. After the analysis, im...
Design an E-Commerce Shopping Website
This question evaluates a candidate's ability to design scalable, distributed backend systems for high-traffic e-commerce workloads. It tests practica...
Design a delivery cost system
Design an object-oriented, in-memory Delivery Cost System for a food-delivery company. Drivers register with an hourly rate, completed deliveries are ...
Test and Run a Reproducible Data Science Pipeline
Design unit and integration tests for a Python data science pipeline that loads data, builds features, trains a model, and writes predictions. Add a r...
Build an Ollama Eval Harness
Design and implement a lightweight evaluation harness for a language model served locally through Ollama. The harness should: - Read a dataset of eval...
Defend a Research Direction and Experiment Design
You are interviewing for a research-focused Machine Learning Engineer role at a frontier AI lab. The onsite includes a collaboration / research-discus...
Explain How L1 and L2 Regularization Change Linear-Model Coefficients
Review a machine learning interview question comparing ordinary least squares with L1 and L2 regularization. The prompt focuses on coefficient behavio...
Design Video Intelligence for Investigations
This question evaluates a candidate's competency in designing scalable, multimodal video intelligence systems that integrate machine learning, informa...
Design a Log Collection System
This question evaluates a candidate's ability to design a scalable, fault-tolerant log collection and search pipeline, covering distributed ingestion ...
Design a Social Feed
Design a personalized social feed that balances fresh and ranked content while supporting posts, follows, deletions, privacy, and stable pagination. T...
Find Strictly Decreasing Forecast Windows for Equatorial Cities
Find Strictly Decreasing Forecast Windows for Equatorial Cities You have a PostgreSQL cities table with a city name, latitude, and longitude, plus a w...
Implement buffered file writer with concurrency support
You are given a simple file writer class that writes data directly to disk: `cpp class FileWriter { public: // Append data to the file on disk imm...
Design a Server Metrics Monitor
Design a server metrics monitoring system that periodically pulls metrics from a fleet of servers and makes them available for dashboards and alerting...
Calculate Daily Survey Response Rates by Country
The interview report preserved the survey tables and the request to calculate response rate, but not the exact grouping or output contract. The follow...
Find A Threshold-Limited Path With Minimum Required Safety
You are given an undirected graph with n nodes, a list of weighted edges, a start node, an end node, and a safety threshold. Each edge has a safety co...
Design an in-memory order matching engine
You are asked to design an in-memory order book / order matching system for a single electronic trading venue. The implementation language is C++, and...