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."
Optimize XGBoost for Predicting Marketing Outcomes
Optimize XGBoost for Predicting Marketing Outcomes Gradient-Boosted Trees for Marketing Outcome Prediction Context You’re building a model to predict ...
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...
Compute answers to probability and counting puzzles
Compute answers to probability and counting puzzles evaluates statistical assumptions, formulas, estimation strategy, uncertainty, edge cases, and int...
Find minimum swaps to sort array with duplicates
Problem Given an integer array nums of length n that may contain duplicate values, you may perform swaps where you choose any two indices i and j and ...
Answer common behavioral prompts
Answer common behavioral prompts Behavioral & Leadership Interview — Software Engineer (Onsite) Context: You are interviewing for a Software Engineer ...
Explain and diagram your past system architecture
Explain and diagram your past system architecture System Design Walkthrough: Architecture You Have Built/Owned Provide a whiteboard-style walkthrough ...
Design an end-to-end recommendation system
Design an end-to-end recommendation system System Design Prompt: End-to-End Movie Recommendation System You are tasked with designing an end-to-end mo...
Design streaming stats with sliding window
Design streaming stats with sliding window Design a data structure that ingests an integer stream and supports online queries for maximum, mean, and m...
Describe leadership challenges and managing a difficult report
Answer the following behavioral questions with specific examples: 1. In a project you led, what was the most challenging part and why? 2. Tell me abou...
Implement deposit, withdraw, and transfer in a class
Problem Implement a class AccountService that supports basic money operations on accounts. Operations - deposit(accountId, amount) - withdraw(accountI...
Build an imbalanced classification pipeline with sklearn
Build an imbalanced classification pipeline with sklearn Take-home: End-to-end Imbalanced Binary Classification Pipeline (scikit-learn + imbalanced-le...
Describe your most complex end-to-end project
Describe your most complex end-to-end project End-to-End Project Deep Dive (Behavioral) Describe the most complex end-to-end project you led or signif...
Build and evaluate a Colab classification model
Build and evaluate a Colab classification model End-to-End Tabular Classification Workflow in Google Colab You are asked to design and implement a com...
Describe diving deep into a problem
Describe diving deep into a problem Behavioral: Dive Deep to Resolve a Complex System Issue Prompt Describe a situation where you had to dive deep int...
Design query generation to maximize CTR
Design query generation to maximize CTR Design an end-to-end query-generation system that maximizes click-through rate (CTR) for a large-scale search/...
Demonstrate leadership and product collaboration
Demonstrate leadership and product collaboration Behavioral & Leadership (Software Engineer Onsite) Context: This multi-part behavioral prompt evaluat...
Design a metrics monitoring system
Design a metrics monitoring system System Design: Metrics Monitoring Platform Context Design a cloud‑native, multi‑tenant metrics monitoring system fo...
Design a least-recently-used cache
Design a least-recently-used cache Design and implement a least-recently-used (LRU) cache with a fixed capacity. Support get(key) -> value and put(key...
Design fraud detection from raw transactions
Design fraud detection from raw transactions System Design: End-to-End Transaction Fraud Detection Context You are given a large, multi-table dataset ...
Solve matrix diagonal and sliding-window statistics
Solve matrix diagonal and sliding-window statistics 1) Given an m x n integer matrix, determine whether every top-left to bottom-right diagonal has th...