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 KV store with QPS API
This question evaluates a candidate's ability to design scalable, highly available key-value storage systems and to integrate real-time metrics report...
Design a short-video recommender for short-term interest
This question evaluates a candidate's understanding of real-time personalized recommendation systems, with emphasis on session-based short-term intere...
Debug transformer and train classifier
Debug and Fix a Transformer Text Classifier, Then Train and Evaluate It You inherit a small codebase for a transformer-based text classifier. It ships...
Engineer and Impute ZIP Features
Question You are building a predictive model for a product team. For some users you have address fields such as street, city, state, and ZIP code. Man...
Remove All Adjacent Duplicate Pairs
Remove All Adjacent Duplicate Pairs Given a string s, repeatedly remove pairs of equal adjacent characters. A removal can make a new equal pair adjace...
Deep-Copy a Linear Linked List
Deep-copy a finite singly linked list represented by nested Python lists. Preserve values and structure while allocating every returned node independe...
Deep-Copy a Linked List with Random Pointers
Clone a linked list whose records use arbitrary IDs for next and random pointers. Translate every identity and pointer through supplied fresh IDs whil...
Build a Churn Prediction Model
This question evaluates a candidate's competency in end-to-end churn modeling, including precise label definition, point-in-time feature engineering a...
How do you review a design document?
This question evaluates proficiency in reviewing design documents, including requirements and scope, architecture and data flow, correctness and secur...
Find invalid transactions in time-sorted input
Problem You are given a list of transaction records, already sorted in non-decreasing order by time. Each transaction is a string in the form: "name,t...
How should you renew or replace a show?
This question evaluates financial modeling, causal attribution, probabilistic decision-making, and strategic portfolio analysis skills for a Data Scie...
Compute the Final Robot Score
This question evaluates data structure and algorithm proficiency, focusing on managing dynamic multisets with priority-based selection and reasoning a...
Evaluate Subjective and Nondeterministic Agent Outputs
Evaluate Subjective and Nondeterministic Agent Outputs Design an evaluation program for an AI agent whose answers may be valid in several different fo...
Implement tail -n for a Very Large File
Implement tail -n for a Very Large File Design and implement the core of tail -n: given a seekable file and a non-negative integer n, return the final...
How do you conduct a code review exercise?
In a live interview, you are shown a short code change — a diff, a pull request, or a standalone function — and asked to produce written code review c...
Investigate Metric Drops and Coupon Retention
This question evaluates a data scientist's skills in product analytics, metric instrumentation and validation, causal inference, cohort selection, exp...
Implement Price-Time Order Matching
This question evaluates understanding of limit-order book mechanics, priority-based matching, stateful stream processing, and data-structure managemen...
Design a production file storage service
System Design: Production-Grade File Storage Service Problem Design a production-grade file storage service with the following APIs, semantics, and co...
Measure scheduled posts feature success
Facebook is considering launching a new feature that allows users to schedule a post to be published at a future time. The product hypothesis is that ...
Design device logging system with offline upload
Design a logging system that collects logs from many client devices, uploads them to the backend, and makes them viewable in a web UI within 3–5 minut...