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."
Five Pumpkins Weighed in Every Pair: Find the Total Weight
You have 5 pumpkins. You weigh them two at a time, in every possible pairing, and the scale readings for the ten pairs are: $$21,\ 22,\ 23,\ 24,\ 25,\...
How do you deliver when time is tight?
Scenario You are assigned a project with an aggressive deadline and limited time/resources. Question How would you ensure the project gets delivered o...
Find gaps between intervals
You are given a list of integer intervals intervals, where each interval is represented as [start, end] (inclusive), and start <= end. Two intervals m...
Implement Prefix Match Filter
Design a data structure that stores a collection of prefix strings. Then, given a list of input strings, return every string that begins with at least...
Design real-time live comments
Design a real-time comment system for live video (e.g., Facebook Live comments). Requirements: - Viewers post comments; all viewers see new comments q...
Design a nearby places (proximity) service
Design a proximity search service like Yelp/Google Maps. Requirements: - Store places with (place_id, name, lat/lng, category, rating). - Query: “find...
Design a ticket or hotel reservation system
Design a reservation system (Ticketmaster-style event seats or hotel rooms). Requirements: - Users search availability by date/event. - Users select s...
Design an ad click aggregation service
Design a backend service that ingests ad impression and click events and provides aggregated metrics. Requirements: - Ingest a high-volume stream of e...
Present a Project and Reflect
This question evaluates a candidate's ability to communicate technical project work, demonstrate ownership, leadership, decision-making, measurable im...
Thread-Safe Stock Inventory: Buy and Sell Without Overselling
Thread-Safe Stock Inventory: Buy and Sell Without Overselling You are implementing the inventory-management core of a small brokerage service. The ser...
Implement logger and card ranking
This coding round contains two independent implementation tasks. Task A: Implement a configurable logger Implement a Logger component that accepts tex...
Design a Daily Puzzle Platform
This question evaluates backend system-design skills including API design, data modeling, service decomposition, scaling and consistency trade-offs, s...
Implement Beam Search With Length Normalization
This question evaluates understanding and implementation of sequence decoding algorithms—greedy decoding and beam search—alongside sequence scoring wi...
Explain motivation and mission alignment
In a behavioral interview for a mission-driven tech company, you are asked two related questions: 1. Why do you want to join this company? 2. How do...
Identify a classic bagging algorithm
Identify a classic bagging algorithm Multiple choice: Bagging Which of the following algorithms is a classic example of bagging (bootstrap aggregating...
Evaluate marketplace interventions
This question evaluates a data scientist's competency in product analytics, causal inference, and experimentation design for two-sided marketplaces, f...
Design a prompt-sharing platform
This question evaluates system design competencies including product and backend architecture, data modeling and indexing, permission and sharing mode...
Design a Customer Review Page
This question evaluates skills in system architecture, data modeling, API design, storage and search solutions, media handling, ranking, pagination, c...
Explain Java follow-ups after solving coding problem
After you implement an algorithmic solution in Java, the interviewers ask follow-up questions and request modifications. Answer/discuss (and, where re...
Extend rules for trip-level aggregates and outputs
Extend rules for trip-level aggregates and outputs Extend Rules Engine: Aggregate Trip-Level Policies Context You previously built an expense policy e...