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."
Explain concurrency model preference
Multithreading vs. Callbacks — Experience and Trade-offs Context You are interviewing for a Software Engineer technical screen. The interviewer asks y...
Design comprehensive OA test cases
Designing Your Own Test Cases in an Online Assessment Context You are taking a timed technical online assessment (OA) for a software engineering role....
Code Editor with Block Shrink and Expand (Code Folding)
Implement the core of a code editor (similar to VS Code) that supports code folding: collapsing ("shrink") and restoring ("expand") indentation-based ...
Implement an In-Memory File System
This question evaluates understanding of file-system abstractions, tree-based data structures, path parsing, and stateful directory and file managemen...
Compute Minimum Task Completion Time
This question evaluates understanding of graph algorithms (topological sort and DFS), dependency scheduling, cycle detection, and critical-path comput...
From Take-Home Script to Production: Python Trade-offs and Hardening a Data Job
From Take-Home Script to Production: Python Trade-offs and Hardening a Data Job You are in a software-engineering interview at a quantitative trading ...
In-Memory File System: Create, Track Duplicates, and List
This question evaluates a software engineer's ability to design and implement an in-memory file system, testing data structure selection, path parsing...
Design delayed job scheduler (LLD)
Design a Delayed Job Scheduler (Low-Level Design) Design a service that schedules a job to execute X seconds in the future with second-level accuracy....
Compute Heavy-Caller Percentages
You are given two tables that track voice calls and daily active users for a messaging app. Table: call_events - call_id BIGINT — unique call identifi...
Design experiments for marketplace product changes
You are interviewing for a Data Scientist role at a food-delivery marketplace such as DoorDash. For each scenario below, explain how you would evaluat...
Describe how you reduced measurable cost
Behavioral question (focus on ownership/delivery): > Tell me about a time you identified and solved a problem that caused measurable cost (e.g., cloud...
Present a Project With Correctness Guarantees
Prepare a 1-2 slide presentation about a system or product you personally built, owned, or significantly improved. In the interview, walk through: - t...
Describe leadership and inclusion examples
Prepare strong behavioral answers for the following prompts: - Tell me about a breakthrough project you led or meaningfully influenced. - Tell me abou...
Explain Compiler Pipeline and LLVM Backend
You are interviewing for a compiler engineer role. Explain the major stages of a modern compiler, then discuss common optimization techniques and how ...
Optimize Tensor Runtime Kernels
You are responsible for optimizing an ML framework runtime on an accelerator. A model has high latency and occasional memory pressure. Explain how you...
Design paginated list UI and pagination API
Scenario You are building a web page that displays a list of items (e.g., posts, products, or users). The list must be paginated, and users can click ...
Design metrics and an A/B test for an app
Pick a consumer digital app you love. Assume the interviewer knows nothing about it. 1) Explain the product, core jobs-to-be-done, target audience seg...
Estimate population singletons from a 10% log
A daily search log has one row per query string. You draw a 10% simple random sample of rows without replacement. Define a “unique query” (singleton) ...
Design a causal evaluation without A/B testing
Non-Randomized Launch Decision via Synthetic Control: Complete Analysis Plan You need to make a go/no-go decision for a high-impact feature that canno...
Explain AUC, activations, ensembles, and imbalance
Machine Learning Metrics and Modeling Choices — Multi-part You are given model scores and binary labels for a small dataset and asked to compute ROC A...