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."
Investigate Causes of Driver WOW Score Drop
Investigate Causes of Driver WOW Score Drop Investigating a 10% QoQ Drop in Driver WOW (Satisfaction) Context Assume WOW is a standardized driver sati...
Compare RNNs and Transformers for Long-Sequence Text Classification
Compare RNNs and Transformers for Long-Sequence Text Classification Scenario You are designing a long-sequence text classification system under tight ...
Create Country-Level Spend Report Using Pandas
users +---------+---------+ | user_id | country | +---------+---------+ | 1 | US | | 2 | CA | | 3 | US | +---------+-...
Diagnose Business Decline Using Key Data Metrics
Diagnose Business Decline Using Key Data Metrics Diagnose a Sudden Business Downturn Using Data Context You are the data scientist supporting a large ...
Identify Top Three Active Users by Event Date
event_log +------------+---------+-----------+---------------------+ | event_date | user_id | event_type| event_timestamp | +------------+--------...
Optimal Stopping for Die Rolls That Bust on Perfect Squares
You repeatedly roll a fair six-sided die and keep a running cumulative sum $S$ of all the values rolled so far (starting from $S = 0$ before the first...
Two Opaque Boxes: Place or Take for Maximum Expected Payoff
You are playing a one-player game with two opaque boxes, both of which start empty. The game lasts exactly 100 turns, and on every turn you must choos...
Find longest unique show window
Given an array of show names (strings) representing a user's viewing history, return the start and end indices of a longest contiguous subarray that c...
Design user communication manager APIs
Design user communication manager APIs In-Memory Communication Manager (Bidirectional Sessions) Goal Design a lightweight, in-memory manager that trac...
Answer SQL MCQs with reasoning
Answer multiple-choice questions covering SQL topics: INNER vs LEFT vs RIGHT JOIN semantics; GROUP BY and HAVING; NULL handling in comparisons and agg...
Flip a specific bit in an integer
Given a non-negative integer num and a zero-based bit position p, return the integer resulting from flipping only the bit at position p (i.e., 0 becom...
Validate password strength and repair
Given a password policy—length between 8 and 20 characters; must include at least one lowercase letter, one uppercase letter, and one digit; and must ...
Implement a banking operations system
Implement a simple banking system that manages multiple accounts with initial balances. Support operations: deposit(accountId, amount), withdraw(accou...
Define and integrate room ranking factors
Define and integrate room ranking factors Design a Room-Ranking System for Meeting Requests Context You are building a service that assigns conference...
Parse and evaluate nested expressions with validation
Design and implement a parser/evaluator for a parenthesized expression language where the input string may be invalid. The language uses spaces as tok...
Compute shortest recursive string encoding
Given a string s, compress it by replacing any consecutive repetition of a substring with the form k{pattern} where k > 1 and pattern may itself be re...
Compute max simultaneous drivers last 24 hours
Given delivery intervals (driverId, startTime, endTime) already recorded, implement maxSimultaneousDriverInPast24Hours() that returns the maximum numb...
Compute shortest path to collect all keys
You are given an m×n grid containing walls (#), open cells (.), a single start cell (@), up to six keys labeled 'a'–'f', and matching doors 'A'–'F' th...
Design a weather aggregation system
Design a weather aggregation system System Design: Weather Data Aggregation (10-minute Updates) Context Build a service that periodically fetches weat...
Compare Spring and Spring Boot
Compare Spring and Spring Boot What are the differences between Spring Framework and Spring Boot? Compare configuration approaches, auto-configuration...