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."
Make a Courier Pay Workflow Resilient to Downstream Failures
Make a Courier Pay Workflow Resilient to Downstream Failures A coding exercise has produced a simplified courier-pay calculator. The calculation rules...
Return Every Index Pair Whose Values Sum to a Target
Return Every Index Pair Whose Values Sum to a Target Problem Implement all_pairs_sum(nums, target). Given an unordered array of integers, return every...
Count Legal Tic-Tac-Toe Games from the Empty Board
Count Legal Tic-Tac-Toe Games from the Empty Board Start with an empty 3-by-3 Tic-Tac-Toe board. X always moves first, and the players alternate placi...
Schedule Priority Jobs with Cooldowns
Schedule Priority Jobs with Cooldowns Implement a scheduler for recurring jobs: `text addJob(job_id, priority, cooldown) -> bool getJob() -> job_id or...
Design a Thread-Safe Buffered Writer with a Background Flush Thread
This question assesses a candidate's ability to design a concurrent, thread-safe component that decouples fast in-memory writes from slower disk I/O u...
Design and Evaluate a Refund Policy for Delayed Orders
Design and Evaluate a Refund Policy for Delayed Orders A delivery marketplace is considering automatically refunding customers whose orders are delaye...
Design a Dynamically Batched Inference API
Design a Dynamically Batched Inference API Design a high-concurrency HTTP API for language-model inference. Clients submit individual requests, but GP...
Design a Real-Time Like Counter for Collaborative Tasks
Design a Real-Time Like Counter for Collaborative Tasks Design the backend and client-update flow for a collaborative task product in which signed-in ...
Design a Space-Efficient Versioned Recipe Shopping Cart
Design a Space-Efficient Versioned Recipe Shopping Cart Design an in-memory shopping cart for a cooking app. Each recipe has an ID and a list of ingre...
Design a Highly Available Conversational AI Service
Design a Highly Available Conversational AI Service Design a conversational AI service that accepts a user message and streams a generated response. B...
Count Pairs of Cyclically Equivalent Integers
Count Pairs of Cyclically Equivalent Integers Two non-negative integers are cyclically equivalent when their standard decimal strings have the same le...
Design an Amazon Locker Service
Design a Single-Station Package Locker Design the classes and core workflows for one self-service package-locker station. A delivery driver deposits a...
Design Food Reviews, Votes, and Reviewer Rewards
Design Food Reviews, Votes, and Reviewer Rewards Design a service where users can rate a food item, post a written review, and upvote or downvote anot...
Design an LLM Request Batching System
This question evaluates a candidate's ability to design a concurrent batching layer that groups individual requests into shared GPU inference calls un...
Count Completed Jobs in a Serial Single-Worker Pipeline
Count Completed Jobs in a Serial Single-Worker Pipeline An automation pipeline contains stages that execute in order. Each stage is represented as [nu...
Evaluate Growth and Pricing for a Grocery Delivery Startup
You are advising an early-stage grocery delivery company. Work through the following growth, profitability, and regional-pricing case. The numbers bel...
Design a Reliable Job Scheduler
Design a general-purpose job scheduler. Clients submit jobs for execution at or after a requested time, inspect status, and cancel jobs that have not ...
Design an Extensible Animal-Chess Game Engine
Design an Extensible Animal-Chess Game Engine Design an object-oriented engine for a two-player, turn-based animal-chess game. The interviewer will su...
Evaluate a Bike Dasher Program with a Controlled Experiment
Evaluate a Bike Dasher Program with a Controlled Experiment A delivery marketplace is considering a program that encourages some couriers to make deli...
Design a Multi-Producer Multi-Consumer Circular Buffer
Design a Multi-Producer Multi-Consumer Circular Buffer Design a fixed-capacity circular buffer shared by multiple producer and consumer threads. Produ...