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 multi-tab browser history and trade-offs
Design: Multi-Tab Browser History Context: Extend a single-tab browser-history component into a multi-tab manager that supports opening/closing tabs, ...
Determine roles from B's accusation
Knights and Knaves: Single Statement Inference You meet two islanders, A and B. Each person is either a knight (always tells the truth) or a knave (al...
Walk through resume under pressure and critique
Question Walk me through four significant projects on your resume. For each project, cover: 1. Problem, context, and constraints — the user/business p...
Design an in-memory cloud storage system
In-Memory Cloud Storage Service (Take-home) Design and implement an in-memory cloud storage service that maps files (objects) to their metadata. The s...
Explain gap and project contributions
Behavioral/Technical Screen: Recent Work and Project Deep-Dive Context You are in a technical screen for a Software Engineer role. The interviewer wan...
Design a real-time messenger
Question Design a real-time messaging system (a Messenger/WhatsApp-style product) that supports 1:1 and group chats. Walk through requirements, the AP...
Describe adapting quickly to unfamiliar problems
Behavioral & Leadership: Delivering Under Pressure, Learning Quickly, and Communicating Clearly Context: You are interviewing for a software engineeri...
Design a reusable web dialog component
You are building a UI component library for a web application and are asked to design and implement a reusable dialog (modal) component. Requirements ...
Implement bus route simulation features
Bus Route Simulation – Boarding, Capacity, and Priority Passes You are given a partially implemented codebase for simulating bus routes in a city. Bus...
Describe a proud project and conflict
In a behavioral interview, be prepared to discuss your previous work experience, one project you are especially proud of, and a time you had a conflic...
Describe leadership and collaboration examples
For a Meta Data Scientist, Product Analytics interview, answer the following behavioral questions using concrete examples. For each one, explain the b...
How to analyze Simpson's paradox
A marketing team wants to evaluate a new email campaign. Two email versions, A and B, were tested over two weeks in two cities: San Francisco and New ...
Simulate turn-based monster team battle
Design an object-oriented model and implement the core battle logic for a turn-based fight between two teams of monsters. The system should simulate t...
Slopes of y-on-x vs x-on-y Regression: Relationship and When They Are Equal
You fit two simple ordinary least squares (OLS) regressions, each with an intercept, on the same paired dataset $(x_i, y_i)$ for $i = 1, \dots, n$: 1....
Find flush and straight groups in cards
You are given an array of strings cards, where each string represents a distinct playing card. Each card string has the format <rank><suit>: - rank is...
Solve BST and Grid Query Problems
This question evaluates understanding of binary search tree order-statistics and grid reachability under threshold constraints, testing competencies i...
Explain train-test generalization gap
This question evaluates understanding of model generalization and diagnostic competence within Machine Learning and Data Science, covering overfitting...
Track Expiring GPU Credits
This question evaluates event-replay and time-window accounting skills, including temporal data structures, priority-based consumption, out-of-order e...
Simulate Turn-Based Monster Battles
This question evaluates the ability to implement a turn-based battle simulation with correct state management, turn semantics, knockout handling, dama...
Design a max-stack with efficient operations
Design a max-stack with efficient operations Design a stack that supports push (x), pop(), top(), peekMax(), and popMax(). The popMax operation must r...