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 an Attendance Payroll Service
Design the backend service for an employee attendance system. The service should support: - Employees clocking in and clocking out. - Computing each e...
Spell Out a Nonnegative Integer
Given a nonnegative integer, return its English words representation. Implement a function that handles numbers from 0 through 2,147,483,647 inclusive...
Design a pin search engine
Design a Pinterest-style pin search engine with hybrid candidate generation, dual-encoder retrieval, multimodal ranking, pairwise/listwise losses, off...
Compute Cohort Retention Rate
You are given two tables: - users(user_id BIGINT, signup_ts TIMESTAMP) — one row per user. - user_activity(user_id BIGINT, activity_ts TIMESTAMP, even...
Diagnose a dip in approval/conversion rate
You are a Staff Data Scientist analyzing a time series metric for a payments/fintech product. Data: Daily (or weekly) time series from Jan 2013 to Jan...
Diagnose and fix multicollinearity in income regression
You want to estimate the relationship between gender and income using a regression model, while controlling for other covariates such as: - age - educ...
Compute ad revenue metrics by geography in SQL
You work on a marketplace app that shows shop ads. You are given the following tables. Assumptions - All timestamps are stored in UTC. - “Revenue” is ...
Count queen attacks on points with blockers
You are given positions on an (unbounded) 2D integer grid. - queens: coordinates of queens - points: query coordinates A queen attacks along 8 directi...
Validate whether a binary string is good
You are given a binary string s consisting only of characters '0' and '1'. Define a good string recursively by the grammar: - '0' is a good string. - ...
Solve array merge, tree view, and maze tasks
This question evaluates array manipulation and in-place algorithms, binary tree traversal and visibility reasoning, and grid graph traversal for path ...
How would you handle conflict and data pressure?
Behavioral questions (answer both) 1) Leading amid collaborator disagreement You are newly assigned as the team lead by your manager. One collaborator...
Design a better water bottle and test it
Propose 10 mutually exclusive design improvements for a commuter-focused reusable water bottle (e.g., insulation, grip, cap mechanism, filter, materia...
Differentiate fixed and variable costs with examples
Unit Economics: Fixed vs. Variable Costs in a Subscription Streaming Business Task - Define fixed cost vs. variable cost for a subscription streaming ...
Deliver self-intro and justify move and company fit
Behavioral Prompt: Self‑Introduction, Why Capital One, and Job‑Change Rationale Context You are interviewing for a Data Scientist role during an HR sc...
Choose target customers and define success metrics
This question evaluates a data scientist's skills in customer segmentation/scoring, experiment design and randomization, statistical power and sample-...
Explain and resolve Simpson’s paradox
Define Simpson’s paradox and construct a concrete numeric example where group-wise success rates favor treatment in each subgroup but the aggregate ra...
Justify and harden your analytics and BI stack
List your current analytics tech suite end-to-end (ingestion, storage/warehouse, transformation, orchestration, catalog/lineage, experimentation platf...
Compute CIs, power, and multiple testing
A/B Testing Stats: Confidence Intervals, Power, Multiple Testing, and Clustering Context: You are planning an A/B experiment on a Bernoulli outcome (c...
Clarify status, education, and multi-role strategy
HR Screen: Candidate Information and Minicase Readiness (Data Scientist) 1) U.S. Work Authorization Provide your current employment/visa status and wo...
Differentiate and control Type I/II errors
A/B Test Powering and Error Control (Two-Proportion Z-Test) Context: You are planning a two-arm A/B test on sign-up conversion. The current baseline c...