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."
Merge Overlapping Intervals
Merge Overlapping Intervals Implement merge_intervals(intervals) for a list of closed integer intervals. Each interval is [start, end] with start <= e...
Merge Keyed N-Ary Trees
Merge Keyed N-Ary Trees An N-ary tree node contains a unique string key among its siblings and a list of children. Implement merge_trees(a, b) for two...
Implement a Multi-Level Recipe Management Service
Implement a Multi-Level Recipe Management Service Design and implement an in-memory recipe manager. A recipe stores a name, an ordered ingredient list...
Design Direct File Uploads for a Chat Application
Design Direct File Uploads for a Chat Application Design file uploads for an existing chat application. Clients should upload file bytes directly to a...
Evaluate Dependent Variable Assignments
Evaluate Dependent Variable Assignments Problem Implement evaluate_assignments(expressions). Each input string assigns one variable to a sum of intege...
Design Comments for a Collaborative Whiteboard
Design Comments for a Collaborative Whiteboard Design comments for a real-time collaborative whiteboard. The product details below are practice assump...
Design a Snapshot-Driven Product Catalog
Design a Snapshot-Driven Product Catalog Design a product catalog system with four capabilities: 1. A retailer periodically supplies a complete snapsh...
Traverse All Reachable Pages With Parallel BFS
Problem A collection of web pages is modeled as a directed graph. graph[page] lists the pages linked from page in a stable order. Implement reachable_...
Design a Fault-Tolerant Video Generation Platform
Design a Fault-Tolerant Video Generation Platform Prompt Design an asynchronous video-generation platform. A user submits generation parameters, check...
Generate Every Ordered Sum Using Ones and Twos
Generate every ordered string of ones and twos whose digit values sum to a target integer, with no duplicates and lexicographic output. The problem te...
Design and Scale Quantitative Optimization Workflows
You are discussing two quantitative systems: a tax-loss harvesting optimizer and a multi-period asset-location backtest. Explain the mathematical mode...
Count Pairs of Strings with Disjoint Character Sets
Count Pairs of Strings with Disjoint Character Sets Problem Implement countDisjointStringPairs(words) -> count. Count unordered index pairs (i, j) wit...
Implement a Merkle Tree for Repository Contents
Implement a Merkle tree over the contents of a cloned repository. The tree should let a client and server compare repository state efficiently by exch...
Defend an Ownership Project with Measurable Impact
Defend an Ownership Project with Measurable Impact Choose one real project in which you identified an important problem and drove the response without...
Simulate Constant-Time Random Courier Selection
Simulate Constant-Time Random Courier Selection Problem Implement simulate_random_picker(operations, random_values). The picker maintains a changing s...
Validate a Balanced INDENT and DEDENT Token Stream
Validate a Balanced INDENT and DEDENT Token Stream Problem A tokenizer has already converted a document into a sequence of tokens. Two token values ha...
Design Permission-Aware Retrieval for Design Files
Design Permission-Aware Retrieval for Design Files Design a search system for a design-editing agent. Users and agents issue short queries, typically ...
Find a User's Airport at a Given Time from Flight Records
Given flight records with departure airport, departure time, arrival airport, arrival time, and user id, implement a function that returns where a giv...
Walk Through an Agentic PDF Evaluation Codebase
Walk through an agentic PDF evaluation codebase, including architecture, deployment, data processing, embeddings, similarity, and state management. `h...
Design a Superhero Dispatch System
Design the backend for a superhero rescue marketplace — a dispatch platform that connects civilians in distress with nearby superheroes. Civilians rep...