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."
Solve pair-counting and account-merging problems
Problem A — Count qualifying products You are given two integer arrays A and B, and an integer T. For each element a in A, count how many elements b i...
Solve three coding tasks: binary search, tree path, subarray
Solve three coding tasks: binary search, tree path, subarray Solve the following coding tasks: 1) In a sorted array, every value appears exactly twice...
Implement LRU and LFU caches
Implement two in-memory cache classes with fixed capacity: 1. Recent-use cache - get(key): return the value for key, or -1 if the key does not exis...
Share background, conflicts, and proud project details
Share background, conflicts, and proud project details Behavioral & Leadership HR Screen — Software Engineer Context You are in an HR screen for a Sof...
Compute top three scores per student
Compute top three scores per student You are given a list of (student_id, score) records. Return, for each student, their highest three scores in desc...
Design webhook, POI, chat, CI/CD, payments
You are asked to design several large-scale backend systems in a single onsite session. The bar is breadth and judgment under time pressure: for each ...
Decide if a dice-betting game is favorable
You are considering a game against a “house” using fair six-sided dice. Rules: - You roll one die; the house rolls one die. - If your roll is strictly...
Design an online auction platform
Design an Online Auction System Design a scalable, highly available online auction platform where users can list items for auction and other users can...
Compute window averages and merge intervals
Compute window averages and merge intervals You are given two independent pandas tasks. 1. Centered sliding-window average - Input DataFrame df with c...
Design training for multimodal embedding model
This question evaluates proficiency in end-to-end multimodal embedding system design, including model architecture, supervision and loss strategies, e...
Traverse a tree and answer 2D prefix sums
This question evaluates a candidate's competency in tree traversal and array preprocessing, specifically in-order traversal of binary trees and 2D pre...
Build a responsive grid of fixed boxes
This question evaluates front-end layout and responsiveness skills including HTML/CSS and React component rendering, plus performance scaling for larg...
Explain Aurora-style internals: WAL, MVCC, replication, recovery
This question evaluates knowledge of database storage engine and distributed database internals, covering write-ahead logging, MVCC, replication model...
Design a constrained cache and secure string validator
This question evaluates proficiency in data structures and algorithms (constrained cache design), concurrent programming, complexity analysis, and sec...
Optimize a SQL query plan tree
This question evaluates understanding of relational algebra, query optimization techniques, and tree-based plan transformations such as predicate push...
Implement an LRU Cache
This question evaluates a candidate's competency in designing efficient cache mechanisms and managing time and space complexity for operations require...
Propagate runtime ID across API requests
This question evaluates proficiency in runtime ID propagation across HTTP requests, JSON parsing and serialization, nested data traversal, and type-pr...
Merge K timestamped lists with timestamp coalescing
This question evaluates algorithmic skills in merging multiple sorted sequences, coalescing records by key (timestamp), merging sorted value arrays, a...
Explain how Kafka works
This question evaluates understanding of Kafka and distributed streaming system concepts, covering core entities (broker, topic, partition, producer, ...
Explain C++ virtual dispatch and object lifetime
This question evaluates a candidate's understanding of C++ virtual function dispatch, destructor and object lifetime semantics, stack versus heap allo...