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."
Determine Probability of Friend Request Being Fake
Determine Probability of Friend Request Being Fake Scenario You operate a platform where 95% of accounts are real and 5% are fake. Fake accounts send ...
Assess Cultural Fit Through Behavioral Interview Questions
Assess Cultural Fit Through Behavioral Interview Questions Onsite Behavioral & Leadership Interview — Data Scientist Scenario - 1-on-1 conversation wi...
Design a Machine Learning Recommendation System Pipeline
Design a Machine Learning Recommendation System Pipeline System Design: End-to-End ML Recommendation System Scenario You are building an end-to-end ma...
Describe Handling Unexpected Feedback and Actions Taken
Describe Handling Unexpected Feedback and Actions Taken Behavioral: Resilience After Unexpected Negative Feedback or Rejection Context You are in an o...
Design a Recoverable Iterator
This question evaluates data-structure and state-management skills, focusing on iterator semantics, snapshotting/restore mechanics, and efficient time...
Implement three whiteboard coding tasks
The interview report described several coding questions in the same category: 1. Binary search: Given a sorted array of integers and a target value, r...
Design a ranking system pipeline
Answer the following ML system design questions: - Describe the machine learning system you know best. Walk through the problem definition, data sourc...
Compute Minimum Parentheses Additions
Given a string s consisting only of the characters '(' and ')', compute the minimum number of parentheses that must be inserted anywhere in the string...
Design a Daily Puzzle Platform
This question evaluates backend system-design skills including API design, data modeling, service decomposition, scaling and consistency trade-offs, s...
Handle joining overworked low-WLB team
Scenario You have just joined a new engineering team. You quickly notice that: - Every team member appears very busy and often works long hours. - Wor...
Design a URL shortener
This question evaluates a candidate's ability to design scalable web services and systems architecture, covering data modeling, routing, and high-read...
Implement an IPv4 Range Iterator
This question evaluates implementing iterative data structures and range-handling algorithms alongside numeric representation of IPv4 addresses and bi...
Implement a leaky-bucket rate limiter
Implement a leaky-bucket rate limiter Implement a Leaky-Bucket Rate Limiter with Tests and Distributed Design Context and Assumptions - Implement in a...
Compute Top-K word frequencies under a path
Compute Top-K word frequencies under a path Given a filesystem path that may contain nested subdirectories and files, compute the top K most frequent ...
Implement debounced async autocomplete input
Implement debounced async autocomplete input Implement an Autocomplete Input Component (Frontend Technical Screen) Context Build an autocomplete input...
Fit logistic regression and return top features
You are given: - X: a 2D numeric array where each row is a feature and each column is an observation (shape: n_features x n_samples). - feature_names:...
Sort Three Categories In Place
You are given an array items containing only the values 0, 1, and 2, where each value represents a category. Rearrange the array in-place so that all ...
Implement K-Means and Detect Divisible Subarrays
Solve both coding tasks. Part A: Implement K-Means Clustering Implement K-means clustering for a set of points. Given: - points: a list of n points, w...
Compute Earliest Bus Arrival
This question evaluates proficiency with shortest-path algorithms and time-dependent graph modeling, focusing on reasoning about travel times combined...
Design a Netflix-like streaming platform
Design a Netflix-like streaming platform System Design: Netflix‑Like Video Streaming Platform Context Design a large-scale video streaming platform th...