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."
Design Travel Page Data APIs
A travel advisory company is launching a customer-facing product experience for browsing and requesting travel services. You are given mockups for thr...
Settle debts with minimal transactions
You are given a list of debts among a set of people, expressed as triples (debtor, creditor, amount) (equivalently (payer, payee, amount)), where each...
Design GenAI Fine-Tuning and Agent Tradeoffs
This question evaluates competency in generative AI fine-tuning techniques and production agent architecture, including trade-offs among full-precisio...
Bias-Variance Tradeoff and Vanishing Gradients in Feedforward Networks
This question evaluates conceptual understanding of the bias-variance tradeoff and the vanishing-gradient problem in deep feedforward networks, two co...
Design an ad frequency capping system
Design a real-time ad frequency capping system for an ads platform. When the ad server is deciding whether to show an ad to a user, it must enforce ca...
Design a Todo List Object Model
This question evaluates object-oriented design and API modeling skills, focusing on domain modeling, class responsibilities, encapsulation, and design...
Design a stock order manager
This question evaluates a candidate's ability to model and manage order lifecycle and state reconciliation, along with understanding of distributed-sy...
Implement a RESTful Q&A service
You are asked to build a small REST service (in any language/framework you choose) that resembles a minimal Stack Overflow-style Q&A system. Design an...

Design pipeline using classification and embedding services
You are given two black-box ML services: 1. Classification Service - Input: One or more text documents. - Output: A label for each document (e.g...
Design First-Fit and Best-Fit Memory Allocation
Design First-Fit and Best-Fit Memory Allocation Design a simplified allocator over one contiguous arena of N bytes. It supports: - allocate(size, stra...
Explain Your Most Technically Complex Project
This question evaluates technical communication, system architecture reasoning, ownership clarity, trade-off analysis, and operational thinking within...
Filter Repeated Robot Status Messages
Filter Repeated Robot Status Messages Implement filter_messages(events) for a robot status stream. Each event is a pair [timestamp, message]. Return, ...
Design Sensor Data Processing With AI-Assisted Implementation
Design a system that ingests sensor data, processes it, stores it, and supports queries over the processed results. In the coding round, the candidate...
Answer culture-fit reflection questions
This question evaluates intrinsic motivation and accountability, probing sustained self-driven curiosity and the ability to recognize and own mistakes...
Design a Hotel Booking System
This question evaluates system design and backend architecture competencies, including data modeling, transactional integrity, concurrency control, sc...
Explain precision/recall and compute NN output
This question evaluates understanding of classification evaluation metrics (precision, recall, F1), ensemble learning principles (bagging vs boosting,...
Implement a Clean In-Memory Transaction Ledger
Build a clean in-memory ledger for deposits, withdrawals, transfers, and balance queries using integer cents. Preserve atomic transfers, reject overdr...
Design an A/B test for search ranking
This question evaluates a data scientist's competency in online experimentation, causal inference, product analytics, and operational metrics engineer...
Design a thread-safe key-value store
You are working on infrastructure for an AI platform. Inside a single process, many worker threads need to share a simple in-memory key–value store; a...
Design a free-month experiment
An online subscription product is considering a promotion that gives eligible new users their first month free instead of charging immediately. Design...