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."
Track Expiring GPU Credits
This question evaluates event-replay and time-window accounting skills, including temporal data structures, priority-based consumption, out-of-order e...
Simulate Turn-Based Monster Battles
This question evaluates the ability to implement a turn-based battle simulation with correct state management, turn semantics, knockout handling, dama...
Construct a Churn-Prediction Pipeline Using Scikit-Learn
Construct a Churn-Prediction Pipeline in scikit-learn Scenario You are a data scientist on a subscription business. You need to build a model that pre...
Calculate Probability of Third Card Being an Ace
Calculate the Probability of the Third Card Being an Ace You draw three cards without replacement from a standard 52-card deck with 4 Aces and 48 non-...
Define Success Metrics and Experiment Plan for Product Development
Define Success Metrics and Experiment Plan for Product Development You are in a product-planning session for a new change to the core booking funnel i...
Analyze Call Drop Rates Pre- and Post-Update Implementation
Analyze Call Drop Rates Pre- and Post-Update Implementation Engineers shipped a new Google Meet version intended to reduce call drops, but a tradition...
Analyze A/B Test Results for Subscription Conversion Rates
Analyze A/B Test Results for Subscription Conversion Rates An A/B test offers free users a limited-time trial of the paid plan to see whether it incre...
Identify Challenges and Solutions for Bike-Delivery Program
Identify Challenges and Solutions for a Bike-Delivery Program A food-delivery platform is considering a bike-based delivery option for couriers in sel...
Implement LRU cache and prime products array
You are given two separate coding tasks. Task 1: Implement an LRU cache Implement an in-memory cache with a fixed capacity that evicts the least recen...
Discuss activities, role, and project deep dive
Discuss activities, role, and project deep dive Behavioral Onsite Prompt — Role Walkthrough, Project Deep Dive, and Professional Growth Context: You a...
Solve five hard algorithm problems
This set of problems evaluates algorithm design and problem-solving skills across array manipulation, range-update techniques, load-balancing and part...
Explain Transformers and deploy an LLM safely
Answer the following LLM-focused questions. 1) Transformer basics - What problem does the Transformer architecture solve compared with RNNs? - Explain...
Design Netflix viewport deduplication
Design Netflix viewport deduplication Design an Algorithm to Ensure No Duplicates in the First Netflix Home-Page Viewport Context You are rendering a ...
Highlight Background and Impactful Projects in Self-Introduction
Highlight Background and Impactful Projects in Self-Introduction Behavioral Prompt: Self-Introduction (Technical Phone Screen) Context You are at the ...
Determine Success Metrics for Circle Feature Optimization
Determine Success Metrics for Circle Feature Optimization Scenario Meta is evaluating a new social feature called Circle (similar to Facebook Groups),...
Propose Innovative Ideas and Convince Others Effectively
Propose Innovative Ideas and Convince Others Effectively Behavioral Interview Prompts (Data Scientist, Phone Screen) Context You are interviewing for ...
Choose Between Precision and Recall for a Classification Decision
A binary classifier will support a real decision, and the model produces a probability score for each observation. Explain precision and recall, how t...
Optimize Model Serving Under 200ms
A data science team gives you a trained model and asks you to deploy it as an online inference service. The requirement is that a single prediction mu...
Explain KNN and PCA and key tradeoffs
In a Data Scientist internship interview, you are asked ML fundamentals: 1) K-Nearest Neighbors (KNN) - Explain how KNN works for classification and r...
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...