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."
Wildcard Dictionary Matching
This question evaluates a candidate's ability to design custom pattern-matching logic beyond simple substring or regex lookups, handling both fixed-le...
Answer technical-challenge and motivation questions
Answer the following behavioral interview questions: 1) Describe the most technically challenging problem you have solved. What made it hard, what did...
Simulate Transaction Lock Scheduling
This question evaluates understanding of concurrency control, lock scheduling, transaction state management, and queuing behavior in the Coding & Algo...
How would you mentor junior teammates?
Question You are interviewing for a senior-level data science role at DoorDash. The interviewer asks: > As a senior, how would you mentor others (espe...
Design a Checkers Game Simulator
Design and partially implement an object-oriented simulator for a two-player checkers-like board game. Requirements: - The game is played on an 8 x 8 ...
Design Real-Time Collaborative Editing
This question evaluates competence in distributed systems, real-time synchronization, concurrency control, data modeling, and automated conflict-resol...
Design a shopping cart with coupons and tax
Design an object-oriented shopping cart module for an e-commerce system. Requirements: - A cart can add items and update item quantities. - The cart s...
Design Flight Booking and Voting Systems
Answer both system design prompts. Part A: Flight Ticket Booking System Design the backend for a flight ticket booking product. The system should supp...
Describe ownership and failure
Answer the following behavioral questions in a structured way, using specific examples from your past work or research: 1. Tell me about a time you we...
Minimize Increments to Equalize Path Costs
This question evaluates understanding of tree data structures, root-to-leaf path aggregation, and cost-balancing strategies within the Coding & Algori...
Simulate rover movement on a grid
You are building a rover navigation simulator. The exercise is incremental: you implement a single rover on a 2D grid, then extend the design to many ...
Improve and debug the shopping app
You are evaluating a live-shopping mobile app from a product-minded engineering perspective. Answer the following as one integrated exercise: 1. What ...
Merge overlapping intervals per group in pandas
This question evaluates proficiency in time-series data manipulation and interval reasoning using pandas, including grouping, datetime handling, and i...
Handle imbalance, sampling, and overfitting
This question evaluates a data scientist's proficiency in machine learning topics including handling class imbalance, selecting and interpreting evalu...
Find the Minimum Number of Meeting Rooms
Find the Minimum Number of Meeting Rooms You are given meeting intervals [start, end], where start < end. A room can host at most one meeting at a tim...
Design a URL shortener
Design a URL shortening service similar to Bitly. The service should accept a long URL and return a short alias, and visiting the short URL should red...
Compute an A/B test p-value by hand
In an A/B test on a game feature, you measure conversion rate (binary outcome). - Control: n₁ = 1000 users, x₁ = 120 conversions - Treatment: n₂ = 980...
Design a basic banking system
Design a Basic Online Banking System with Safe Money Movements Problem Design a minimal but production-minded online banking service. The service must...
Build Quadtree and Find Grid Words
This question evaluates divide-and-conquer tree construction and recursive spatial data structures for the quadtree task, and grid-based search and ba...
How to Identify Best Battery Group
You have historical quality data for batteries that were randomly assigned to one of 5 groups. Each battery then goes through 3 different quality test...