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 KV store with sliding-window average QPS
Problem Design an in-memory key–value store that supports mutation operations and can report the average QPS (queries per second) over a recent time w...
Find the Smallest String After One Decrement
You are given a string s consisting only of lowercase English letters. You must perform exactly one operation: 1. Choose one non-empty contiguous subs...
How to diagnose traffic and measure relevance?
This question evaluates a data scientist's skills in traffic diagnostics, instrumentation validation, user-path and navigation analysis, causal reason...
Design an ads ranking system with calibration
This question evaluates a candidate's ability to design scalable, low-latency online machine learning systems for ads ranking, covering competencies i...
Implement log aggregation in React
React Coding: Log stream aggregation You are building a small React feature that displays real-time statistics from a log stream. Log event format Eac...
Explain Your Project and Manager Feedback
You are interviewing for a Machine Learning Engineer role on a news product. Answer the following behavioral questions clearly and concisely: 1. Walk ...
How to Target Coupon Users
A ride-sharing company such as Lyft wants to launch a coupon campaign to increase commuter rides, but the coupon budget is limited. How would you anal...
Minimize the Maximum Edge on a Path
Minimize the Maximum Edge on a Path You are given a weighted undirected graph and two vertices, start and target. Define the stress of a path as the l...
Navigate a Senior Engineering HR Interview
Navigate a Senior Engineering HR Interview Prepare a coherent set of answers for an HR conversation covering current scope, motivation, company intere...
Implement A Concurrent Download De-Duplication Layer
Design and implement a downloader that accepts many URL download requests concurrently. Requests for different URLs should run independently. If sever...
Implement a Hierarchical File System
Implement an in-memory hierarchical file system. Create a class FileSystem with the following methods: - FileSystem() initializes an empty file system...
Support Dynamic Range Sums
Implement a data structure over an integer array nums. Part 1: If the array never changes, support sumRange(left, right) that returns the sum of eleme...
Identify and mitigate deduplication program risks
System Design: Robust File Deduplication in the Real World Context You are designing a file deduplication tool that scans large directory trees on one...
Dice Duel: 30-Sided Die vs. 20-Sided Die with One Blind Reroll
Alice and Bob play a dice game. Alice has a fair 30-sided die (faces $1$ through $30$) and Bob has a fair 20-sided die (faces $1$ through $20$). Each ...
Design a Retrieval-Augmented Generation (RAG) system
This question evaluates a candidate's ability to design production-grade Retrieval-Augmented Generation systems, testing competencies in information r...
Implement SGD for linear regression and derive gradients
Prompt You are given a dataset of \(n\) 1D samples \(\{(x_i, y_i)\}_{i=1}^n\), where \(x_i\) and \(y_i\) are real numbers. We want to fit a linear mod...
Explain core ML concepts and diagnostics
You are in an ML breadth interview for a Senior Applied Scientist role. Answer the following conceptual questions clearly and practically (definitions...
Sort trade executions into a canonical order
You are building a small component in a trading system that consumes trade execution records from an upstream feed. The records may arrive out of orde...
Answer common behavioral questions with follow-ups
Behavioral interview prompt set You are in a standalone Behavioral (BQ) interview. The interviewer asks straightforward, keyword-based questions and t...
Compare convolutions and transformers
Compare CNNs and Transformers Task Explain the key differences between convolutional neural networks (CNNs) and transformer architectures. Specificall...