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 a Store Recommendation System and Explain ML Trade-offs
Design a store recommendation system and discuss ML domain trade-offs, including a decision-tree-style refund model. `hint Hint 1 Start by stating ass...
Simulate Players Moving Under a Watcher's Gaze
Simulate Players Moving Under a Watcher's Gaze A one-dimensional road starts at 0 and ends at length. Each player begins at a supplied position and wa...
Build a Progressive Employee Tracker
Build a Progressive Employee Tracker The source reports four tracker stages but not exact calls or failure values. The command driver and ordering rul...
Design a 2048 Game
Design the object model and core game logic for a 2048 game on an N x N grid. This is an object-oriented design problem: focus on the classes, their r...
Design a scalable expense rules engine
Design a Rules Engine for Corporate Credit-Card Expense Review Context We offer a corporate credit card that employees use for business expenses. Mana...
Debug and Extend a Priority-Aware Python Thread Pool
Debug and Extend a Priority-Aware Python Thread Pool You inherit a Python thread-pool implementation that accepts callables and runs them on a fixed n...
Solve probability and expectation problems
You are asked to solve the following probability and mathematical interview problems: 1. Squid Game glass bridge: There are B sequential bridge steps....
Clarify and Prune an N-ary Tree to a Depth Limit
You are given a rooted N-ary tree and a nonnegative integer k. First compute the tree's maximum depth. Then discuss how to delete a minimum set of nod...
Design and Interpret a Video Pin Experiment
A content platform wants to increase creation of video Pins. Design an experiment, then interpret the illustrative result table below and make a launc...
Design a URL Shortener (High-Level and Low-Level Design)
This question evaluates the ability to design a large-scale distributed system, covering both high-level architecture and low-level implementation det...
Design a Cron Job Scheduler
Design a distributed cron job scheduler — a service that triggers user-defined jobs on recurring, cron-style schedules. Assume worker (execution) capa...
Navigate Disagreement, Mistakes, and Difficult Stakeholders
Prepare four concise behavioral stories covering a difficult stakeholder, process simplification, a consequential mistake, and disagreement with a man...
Design Model Weight Distribution
Design a system that distributes large machine learning model weight files to a fleet of GPU inference workers. A new model version is published as on...
Design alerting for application-to-exchange mappings
Problem: Alerting design for application→exchange mappings You are building a service that receives an ordered stream of mapping events: - register(ap...
Design a Library Management System (API and Schema)
This question tests practical system design skills by requiring candidates to model a relational data schema and REST API for a library lending system...
Design Stack Evaluators and Low-Latency Memory Primitives
Work through the following systems-programming exercises. State the memory and concurrency model you assume before writing pseudocode. Part 1: Stack M...
Design a Payment Processing System
This system design question evaluates a candidate's ability to architect a backend payment system that stays correct under retries, concurrency, and p...
Find the Single Value in a Sorted Array of Pairs
Find the Single Value in a Sorted Array of Pairs Problem Implement singleNonDuplicate(values) -> value. values is sorted in nondecreasing order. Exact...
Design an Offline Merchant Payment System with Reconciliation
Prepare for a OpenAI system design interview about design an offline merchant payment system with reconciliation. This question focuses on requirement...
Count Overlapping Rectangle Updates on a Grid
Count Overlapping Rectangle Updates on a Grid Implement range_add_counts(n, rectangles). Start with an n x n matrix of zeroes. Each rectangle is repre...