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 an experiment for order batching
Experiment Design: Two-Order Batching Policy During Peak Hours Context DoorDash plans to test a dispatch policy that allows a dasher to pick up two ne...
Explain Linux Command Execution, Filesystems, and Isolation
Explain Linux Command Execution, Filesystems, and Isolation Walk through the operating-system mechanisms behind common Linux commands and isolation ch...
Design a ride-sharing system (Uber)
Design a large-scale ride-sharing platform similar to Uber. Cover: - Rider and driver apps (account, availability, requesting rides). - Real-time driv...
Design a swipeable video feed backend
Design the backend service for a short-video product similar to a “Spotlight”-style feed. Scope: only the backend “feed vending” functionality that po...
Build A Purchase-Intent Prediction Notebook
Build a machine learning notebook that predicts whether a user session will lead to a purchase. The training and test CSV files contain page counts, t...
Design an IP blacklist API
Design an API and backend service for an IP firewall blacklist system. The service should allow security administrators or automated abuse-detection s...
Implement four coding challenges
You are asked to solve the following four independent coding problems. --- 1) Block Placement Simulator (Tetris-like) You have an empty n x m grid (ro...
Test whether US uploads more videos
This question evaluates a data scientist's competency in observational analytics, metric definition, confounder identification and control, and statis...
Predict driver acceptance
This question evaluates a candidate's competency in designing and operationalizing an end-to-end machine learning solution for predicting driver accep...
Design tests to measure latency impact
Question You are a Data Scientist supporting a large consumer product (e.g., YouTube). Engineering ships a change intended to reduce client-side / vid...
Analyze EV, arbitrage, and bet sizing across games
Betting Games: EV, Variance, Arbitrage, and Sizing Context You will be shown payout tables or odds for three independent games. Your task is to quickl...
Describe a challenging project and how you succeeded
Behavioral prompts Answer the following using a structured format (e.g., STAR: Situation, Task, Action, Result), focusing on your contributions, trade...
Explain Role Fit, Conflict Resolution, and Learning
Explain Role Fit, Conflict Resolution, and Learning Prepare concise answers for a recruiter and hiring-manager conversation. Use only real experience ...
Implement stream random sampling in Python
You are given an unbounded stream of items that cannot be stored entirely in memory. Write Python code to maintain a uniform random sample from the st...
Prioritizing QA Work Under Deadline Pressure
This question evaluates a candidate's ability to prioritize testing work and manage quality risk when time is insufficient to cover everything before ...
Compute and plot a precision–recall curve
You are given model outputs for a binary classifier: - y_true: an array of 0/1 ground-truth labels of length n. - y_score: an array of predicted score...
Explain classification lifecycle and CTR modeling
You are interviewing for a Machine Learning Engineer role. Discuss the following machine-learning topics in a structured way: 1. Describe one practica...
How do you interpolate in 3D?
Given two points in 3D space, p0 = (x0, y0, z0) and p1 = (x1, y1, z1), how do you compute a point between them using interpolation? Define the interpo...
Cluster 3D Points by a Distance Threshold
Implement cluster_points_3d(points, D). Create an undirected edge between two distinct 3D points when their Euclidean distance is strictly less than D...
Find Largest Adjacent Stock Price Change
This question evaluates algorithmic problem-solving and data-manipulation skills, specifically date-based sorting, computing signed versus absolute ad...