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."
Differentiate LDA and QDA; compute boundary
Binary Gaussian Classification: LDA vs QDA You are modeling a 2D binary Gaussian classifier with features (x, y): - Class 0: mean μ0 = (0, 0), covaria...
Implement K-means and run two iterations
Given points P={(0,0),(0,2),(2,0),(2,2),(8,8),(8,10),(10,8),(10,10)} and k=2, (1) initialize centroids with k-means++ using seed=42 and Euclidean dist...
Optimize threshold using confusion matrix and costs
Calibrated Classifier on an Imbalanced Dataset (1% positives) You have a perfectly calibrated binary classifier evaluated on 10,000 held-out examples....
Derive L1 vs L2 effects with correlation
Multicollinearity: Ridge vs LASSO vs Elastic Net Setup - Two standardized predictors x1 and x2 with corr(x1, x2) = 0.99. - X'X = [[100, 99], [99, 100]...
Compute violation rate and flag precision in SQL
You are analyzing a Trust & Safety product in BigQuery. Assume 'today' is 2025-09-01 (UTC). Define precise metrics and write SQL to compute them, bein...
Compute feed ad frequency and retention in SQL
Assume today is 2025-09-01. Schema and tiny samples: feed_impressions(impression_id, user_id, impression_time, content_type, feed_position, session_id...
Lead a product deep dive with quantified impact
Behavioral Product Leadership Prompt (Data Scientist) You are interviewing for a Data Scientist role with a strong focus on product analytics, experim...
Model comment counts and detect anomalies
Modeling Heavy-Tailed Comment Counts and Robust Monitoring You are analyzing daily comment counts at the post–day level. The distribution is heavy-tai...
Estimate fake-account prevalence with capture-recapture
This question evaluates a data scientist's competency in capture–recapture estimation, estimation of population size with incomplete detections, stati...
Design a feed ads A/B test with guardrails
Experiment Design: Insert One Extra Ad Every 8 Organic Posts in Main Feed Context You want to increase ad load by inserting one additional ad for ever...
Optimize IG Shopping ranking with multiple objectives
Instagram Shopping: Multi-Objective Ranking With Fairness, Fraud Robustness, and On-Device Constraints You are designing the Instagram Shopping home f...
Build cohort 30-day retention from signup date
This question evaluates a data scientist's competency in cohort analysis, retention metric computation, handling right-censoring and edge-case treatme...
Analyze overfitting, DenseNet, preprocessing, and cross-validation
Image Classification in Healthcare: End-to-End Interview Task Context: You are designing and evaluating an image-classification system for a healthcar...
Demonstrate cultural fit and sales-oriented leadership
Context You are interviewing for a technical, customer-facing Data Scientist role at NVIDIA (HR screen). Provide concise, business-outcome-oriented re...
Design an A/B test for WFH filter
A/B Test Design: Optional "Work From Home" Filter on Search Page You are designing an online controlled experiment for a marketplace search page that ...
Choose tests for rare-event A/B analysis
This question evaluates expertise in statistical experiment design for rare binary outcomes, covering hypothesis test selection for low-event-rate pro...
Communicate trade-offs and influence launch
Product Experiment Trade‑off: Notifications for Multi‑Account Users Context You ran an experiment on notification delivery to users who often maintain...
Design Messenger spam experiment with clustering
Experiment Design: Spam-Detection Algorithm for Messenger You are evaluating a new spam-detection algorithm that routes suspected spam into a separate...
Determine distribution of aX+b when X~N(0,1)
This question evaluates understanding of affine transformations of the normal distribution, moment calculation, and probability density manipulation, ...
Deliver a crisp self-introduction
90-Second Self-Introduction: Senior Data Scientist (Figma) Context You are preparing for an HR screen (behavioral/leadership) for a Senior Data Scient...