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 scalable news feed system
Design the backend for a social app's news feed You are designing the backend that powers a mobile social app's home feed (a Twitter/Instagram-style h...
Group words that map to same phone digits
Problem On a classic phone keypad (T9), letters map to digits: - 2: ABC, 3: DEF, 4: GHI, 5: JKL, - 6: MNO, 7: PQRS, 8: TUV, 9: WXYZ Given a list of lo...
Implement and Defend a Generic C++ Stack
Implement and Defend a Generic C++ Stack Implement a dynamically growing generic stack in C++ and then defend its object-lifetime and call-semantics c...
Design an in-memory database
Design an in-memory database System Design: In-Memory Key–Value Database for Ultra–Low Latency Context You are designing an in-memory, per-node key–va...
Solve listed algorithm problems
This set of problems evaluates algorithmic problem-solving skills across selection and order-statistics, graph algorithms and traversals, connected-co...
Design trip booking REST API and schema
Design a RESTful API for a guest to book a trip. Include: - Core endpoints (search availability, create booking, view/cancel booking, payment/confirma...
Design a concurrent latency percentile tracker
This question evaluates understanding of concurrent data structures, thread-safety, time-windowed metrics aggregation, and percentile computation for ...
Design automated regression tests for an API
This question evaluates proficiency in designing automated regression test suites for RESTful APIs, performance verification and monitoring, end-to-en...
How do you explain work to non-technical partners?
Behavioral questions 1. Communicating with non-technical people: How do you explain a complex technical/ML topic to a non-technical stakeholder (e.g.,...
Implement in-memory data structures and booking API
This question evaluates proficiency in data structures and algorithms, systems-level data modeling, and practical API design by testing in-memory key-...
Explain normalization, regularization, CTR, imbalance handling
This question evaluates mastery of normalization methods, regularization techniques, click-through-rate modeling, and class-imbalance strategies, with...
Design an ads system to improve CTR
Design an ML system to increase the click-through rate (CTR) of ads shown in the personalized feed of an online social media platform. You run the ran...
Implement IPv4 iterators and CIDR expansion
Problem: IPv4 Iterators and CIDR Expansion You are implementing utilities to iterate over IPv4 addresses. An IPv4 address is in dotted-decimal form: A...
Design a URL Shortener
This question evaluates a candidate's ability to design scalable, highly available distributed systems, covering competencies in API design, data mode...
Design a Synchronous Text Classification API
Design a Synchronous Text Classification API A trained machine-learning model classifies text. Design the system that exposes this model through synch...
Bounds on the Probability of Rain on at Least One Weekend Day
The probability that it rains on Saturday is $p$, and the probability that it rains on Sunday is $q$. Nothing is said about whether the two days are i...
Add One Source to Minimize Grid Inconvenience
Add One Source to Minimize Grid Inconvenience Implement min_max_inconvenience(grid). grid is a non-empty rectangular matrix containing 0 and 1. A cell...
Handle imbalance, validate samples, and avoid overfitting
This question evaluates competencies in handling class imbalance, choosing and interpreting evaluation metrics and decision thresholds, validating sam...
Resolve Simpson’s paradox in A/B email test
This question evaluates understanding of Simpson's paradox, causal inference, A/B testing and experimental design within the Analytics & Experimentati...
Design a waitlist system with top/bottom K
This question evaluates object-oriented design, data structure selection, and algorithmic complexity reasoning for implementing a waitlist that suppor...