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."
Implement autocomplete with top-K suggestions
Implement an autocomplete component that, given a history of query strings with frequencies, returns the top K suggestions for an input prefix in real...
Discuss eligibility and behavioral scenarios
Behavioral and Logistics Questions (Onsite — Software Engineer) Context You are interviewing for a Software Engineer role in a behavioral and leadersh...
Traverse binary tree by levels with constraints
Given a binary tree and a predicate P(node), perform a level-by-level traversal that collects, for each level, only the nodes whose values satisfy P. ...
Explain resume projects and behavioral responses
Behavioral Interview Prompt (STAR) Context: You are interviewing for a Software Engineer role in an onsite behavioral/leadership round. Using the STAR...
Explain Multi-Armed Bandit Principles
Multi-Armed Bandits vs A/B Testing: Algorithms, Trade-offs, and Production Considerations You are designing online decision-making for a large-scale p...
Design a keyboard and mouse input system
Question Design an input processing system that captures keyboard and mouse events and can reliably reconstruct what the user typed (answering "what d...
Design distributed word count without MapReduce
System Design: Distributed Word Frequency Counting (No MapReduce) Context You need to design a distributed system that computes word frequencies over ...
Identify impactful blog content pillars
Content Pillars for a Developer-Facing Software Product Blog (Beyond Performance) Context You are planning the editorial strategy for a developer-focu...
Describe adapting communication to interviewer preferences
Behavioral: Calibrating Your Depth to the Hiring Manager Context: HR Screen for a Software Engineer role. Describe a time you intentionally avoided sh...
Design distributed parallel job processing
Design a Distributed System for Parallel Job Execution Context You are asked to design a highly available, horizontally scalable service that executes...
Design an e-commerce analytics warehouse
Design an Analytics Warehouse for an E‑commerce Platform Context An e‑commerce platform exposes the following user-facing services: - Item search - It...
Design an asynchronous logger with formatting
Design an Asynchronous C++ Logger Using a Lock-Free Queue Context You are asked to design and implement an asynchronous logger suitable for a technica...
How would you estimate impact without A/B?
This question evaluates a data scientist's competency in causal inference, experimental design, metric definition and diagnostics, with specific empha...
Design an OOD restaurant management system
Object-oriented design: Restaurant management system Design an object-oriented system for a dine-in restaurant that supports the following: Functional...
Solve core probability/statistics mini-problems
Answer the following probability/statistics interview questions. Assume all randomness is independent unless stated otherwise. 1) Radioactive decay (h...
Add TTL to an LRU cache
Design an in-memory LRU cache and explain how to extend it with TTL support. Requirements: - get(key) returns the value if the key exists and has not ...
Implement a balance tracker and interval merger
This screening contained two coding exercises. Part 1: Driver balance tracker You are building an in-memory ledger for a delivery platform. Each updat...
Explain attention variants and their tradeoffs
You are asked to explain and reason about modern Transformer attention mechanisms. 1) Scaled dot-product attention - Define the operation mathematical...
Find the Best Meeting Point on a Grid
Find the Best Meeting Point on a Grid You are given a rectangular grid containing buildings, empty land, and obstacles: - 1 is a building. - 0 is empt...
Design concurrent expiring job registry
This question evaluates understanding of concurrent data structures, synchronization primitives, time-based expiration semantics, and efficient cleanu...