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."
Solve Three Coding Interview Problems
This set of problems evaluates competency in algorithmic problem-solving, including merging sorted arrays with duplicate elimination, reasoning about ...
How Does Removing Zeros Affect Sharpe?
Suppose a return series has 2n observations. Exactly n observations are 0, and the remaining n observations are non-zero returns x1, x2, ..., xn with ...
Compute max team size with a core interval
You are given n employees’ working-time intervals, where employee i works during the inclusive interval [startTime[i], endTime[i]]. You want to form a...
Frequent Traveler Case
You are a data scientist at a professional networking platform. Using coarse location signals such as city-level login location, IP geolocation, GPS, ...
Diagnose KPI anomaly and evaluate promotion/A-B test
Diagnose KPI anomaly and evaluate promotion/A-B test You are a Data Scientist supporting a TurboTax product team. You are asked to handle three relate...
Introduce background and choose target team
Introduce background and choose target team Behavioral HR Screen: Software Engineer Prompt Prepare concise, structured responses to the following: 1. ...
Enforce ordered execution across threads
Enforce ordered execution across threads Implement a class with three methods alpha(), beta(), and gamma() that may be called by three different threa...
Design a Multi-Agent Chat Backend
Design the backend for an LLM-powered chat product used by customers in a financial-technology setting. The interviewer will show a simple demo of a c...
Solve peak element and unique word abbreviation
You are given two independent coding problems to solve. 1) Peak element in an array (binary search) - Input: an integer array nums of length n >= 1. -...
Outline the ML inference and labeling pipeline
Outline the ML inference and labeling pipeline Audio Detection System: ML Inference and Data Pipeline (Model Architecture Out of Scope) Context and As...
Discuss complex project and multi-approach example
Discuss complex project and multi-approach example Behavioral Prompt — End-to-End Complex Project and Alternatives (Software Engineer, Onsite) Describ...
Implement toy-language types and generic substitution
Problem: Toy Language Type System (Printing + Generic Resolution) You are implementing a small type system for a custom “Toy Language”. Types can be: ...
Implement weighted-eviction cache
Question Design and implement a weighted cache supporting get(key) and put(key, value, weight) operations. The cache has a total weight limit; when in...
Discuss ML infrastructure fundamentals
Discuss ML infrastructure fundamentals ML System Design: Infra Stack, Feature Store, Reproducibility, and Monitoring Context: You are designing and op...
Show leadership and teamwork
Show leadership and teamwork Behavioral Leadership Question Context You are in an onsite software engineering behavioral and leadership interview. The...
Evaluate actions in Amazon simulation
Evaluate actions in Amazon simulation Amazon Work Simulation: Purpose, Modules, and Design Decisions Context and Assumptions The Work Simulation is a ...
Compute expectations and test fairness for coin flips
You are analyzing repeated flips of a (possibly unfair) coin. Setup Let the probability of Heads be \(p\) (unknown in general). Assume flips are indep...
Implement Layer History and Grid Counting
This question evaluates a candidate's proficiency in mutable state management and reversible operations through implementing an undo/redo layer editor...
Remove Target Values from a Linked List
Given the head of a singly linked list and an integer target, remove every node whose value equals target and return the new head of the list. The tar...
Design market price change notifications
Design a system that notifies users when market prices change for the symbols they track. Context and requirements: - Users maintain a watchlist of sy...