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."
Calculate dice game win probability
Calculate dice game win probability Dice Game With Tie Rerolls: Probability You Eventually Win Context - Three players each roll a fair standard 6-sid...
Implement compiler for custom language
Implement compiler for custom language Design and implement a simple compiler/interpreter Goal Design and implement a small compiler/interpreter for a...
Design a Relational-to-DynamoDB Migration System
Design a production migration system that moves an existing e-commerce service from a relational database to DynamoDB with minimal downtime. Your desi...
Design rental watchlist and notification system
Design a Rental Listing Watchlist and Availability-Notification System You are designing a feature for a vacation-rental marketplace (Airbnb-style). A...
Design a thread-safe bounded queue
Design a Thread-Safe Bounded MPMC Queue with Timeouts and Fairness Context You are building a reusable, in-memory, bounded queue that supports multipl...
Scale crawler with thread pool
Concurrent Web Crawler — Bounded Thread Pool, Thread-Safe Frontier, Dedupe, Politeness, and Trade-offs You are refactoring an existing single-threaded...
Design a Hybrid Evaluation Platform
This question evaluates skills in designing scalable ML evaluation platforms, covering architecture, data modeling, human-in-the-loop workflows, LLM-b...
Write SQL to sum city population by name
You have four relational tables: - country(country_id, name) - state(state_id, country_id, name) - city(city_id, state_id, name) - zip(zip_code, city_...
Build a fraud detection model
This question evaluates competency in designing end-to-end fraud detection machine learning systems, including defining prediction targets and labels,...
Implement a simplified grep with extensible flags
Problem Implement a simplified version of grep that searches a text file and returns the lines that match a given query string. You should focus on cl...
Solve word path in grid and trapped water
You are given two independent programming tasks. --- Problem 1: Check if a word exists in a 2D character grid You are given a 2D grid board of charact...
Find an Exit in a URL Maze
You are given a starting URL for a web-based maze. Each URL represents one room in the maze. Your task is to write a program that discovers whether th...
Solve binary-tree reverse printing and LPS
You are given a binary tree node definition: - TreeNode { int val; TreeNode left; TreeNode right; } Answer the following two algorithmic questions. 1)...
Design a typeahead search service
Design a search autocomplete system for a large application. As a user types a prefix, the system should return relevant suggestions with low latency....
Solve SQL and Python OA tasks
Complete the following two online-assessment tasks. Task A — SQL You are given two tables: customer - customer_id INT - customer_name VARCHAR - purcha...
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...
Design a PKI for internal mTLS and certificates
System Design Prompt Design a Public Key Infrastructure (PKI) for an organization to issue and manage certificates used for: - Internal mTLS between s...
Propose and Validate a Mobile App Improvement
Assume you are working on a consumer mobile app. Propose one product improvement that could improve user engagement, retention, or conversion. Your an...
Build cold-start restaurant ratings
This question evaluates a data scientist's ability to design a production-ready predictive modeling approach for cold-start ratings, testing competenc...
Design an online auction system
Design a scalable online auction service. Users can: - Create an auction (item info, start/end time, reserve price optional). - Place bids while the a...