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 a video streaming platform like Netflix/YouTube
This question evaluates a candidate's competence in designing large-scale video streaming systems, covering distributed systems architecture, scalabil...
Design an encrypted log collection system
This question evaluates competence in distributed systems design, secure transport and storage, encryption and key management, scalability, and observ...
Return the longest contiguous subarray with all distinct values
This question evaluates a candidate's understanding of array-processing algorithms, duplicate detection, and maintaining state to identify the longest...
Describe a memorable bug and persuasion story
Behavioral Questions Q1: Most memorable bug Tell me about the most memorable/impactful bug you encountered in your work experience. - What was the use...
Join tables to map userId to name
Problem You are given three tables represented as 2D string arrays (each row is a record, no headers). You need to produce a mapping from userId → cus...
Implement a single-producer multi-consumer ring buffer
Implement a fixed-capacity ring buffer in C++ for a setting with one producer and multiple consumers. Design a class that stores integers in a preallo...
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 ...
How would you evaluate a free-trial A/B test?
You run an online marketing experiment to evaluate whether offering a free 1‑month trial increases growth. Experiment context - Eligible visitors are ...
Describe your strongest project
What is the most impressive project you have worked on? In your answer, cover: - The problem/business goal and why it mattered - Your specific role an...
Design Nearby Restaurant Search
This question evaluates competency in large-scale system design for low-latency geospatial search, covering concepts such as geospatial indexing, cand...
Evaluate an Arithmetic Expression
This question evaluates proficiency in parsing arithmetic expressions, handling unary and binary operators, parentheses, whitespace, numeric tokenizat...
Find the Two Heaviest Balls with Minimum Comparisons
Find the Two Heaviest Balls with Minimum Comparisons There are 32 balls with distinct weights. A comparison reveals which of two balls is heavier. Det...
Derive mean and variance of x̄
This question evaluates understanding of expectation, variance, covariance structure, and how dependence between observations affects the precision of...
Should WhatsApp launch group calls?
This question evaluates a data scientist's skills in experiment design, product analytics, metric definition, causal inference, and managing network e...
Design a group chat system
Design a WhatsApp-like group chat system. Core features: - 1:1 and group conversations - Send/receive text messages (assume small payloads) - Group me...
Describe handling pressure and present your work
Describe handling pressure and present your work Behavioral Prompt: Delivering Under Severe Time Pressure You are interviewing for a technical role wh...
Describe resolving a conflict with a teammate
You are interviewing for a Data Scientist PhD Summer Intern role. Tell me about a time you had a conflict with a teammate on a research or data/ML pro...
How would you validate a driving simulator’s realism?
You work on autonomous driving evaluation. You have two datasets for the same set of driving scenarios: - Real-world logs collected from vehicles (gro...
Implement Checksums and Feature Rollout Evaluation
Complete the following two coding tasks in a 90-minute online assessment. An AI coding assistant may be available, but the submitted code must pass th...
Design a system for LinkedIn Skills
Design an ML system for “LinkedIn Skills”. The system should infer and/or recommend skills for members, and support downstream use cases like search/r...