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."
Count Grid Paths Without Three Consecutive Moves
Count Paths Without Three Consecutive Moves A frog starts at (0, 0) and must reach (right_steps, up_steps). Every move is exactly one unit right (R) o...
Search a Pattern Across the Leaf Text of a Binary Tree
Search for a pattern across the left-to-right concatenation of binary-tree leaf strings, including matches that cross leaf boundaries. This algorithm ...
Kth Employee Reached in an Ordered Hierarchy
Kth Employee Reached in an Ordered Hierarchy Implement kth_recipients(boss, queries). Employees are numbered 0 through n - 1. boss[0] == -1; for every...
Present Your Background, Project, and Role Expectations
Present Your Background, Project, and Role Expectations Scenario In a recruiter screen for a software engineering role, you are asked to introduce you...
Design a Multi-Channel Notification System
Design a Multi-Channel Notification System Design a system that accepts notification requests and delivers them through configured channels such as in...
Return the Lexicographically Smallest Topological Order
Return the Lexicographically Smallest Topological Order Problem Implement topologicalOrder(nodeCount, edges) -> order. The directed graph contains nod...
Design Versioned IDE Settings for Users and Teams
Design a service that stores IDE settings for both users and teams. A team can push settings to its members, while users may also have personal settin...
Design a Resilient Chat System
Design a Resilient Chat System Design a chat system and trace data end to end through its components. Support direct and group conversations, message ...
Maximize Revenue With Two Contiguous Delivery Routes
Problem Houses lie in a line. values[i] is the nonnegative payment for delivering to house i. Two delivery robots are available. Robot one can serve a...
Add Nested Begin, Commit, and Abort Semantics to a Shopping Cart
Add Nested Begin, Commit, and Abort Semantics to a Shopping Cart An in-memory shopping cart already supports add(item), remove(item), and a pure disco...
Implement a Stateful Chatter Message Store
Implement a Stateful Chatter Message Store Design a Chatter class that can load multiple ordered batches of messages, save its current messages, retur...
Design a Music Playlist Service
Design a Music Playlist Service Design a service where users create playlists, add or remove tracks, reorder items, and retrieve a playlist in playbac...
Design a Cash Register with Inventory and Profit Tracking
Design a Cash Register with Inventory and Profit Tracking Design an object-oriented cash-register system that manages inventory, completes sales, and ...
Explain BIOS and UEFI Firmware Mechanisms
Explain BIOS and UEFI Firmware Mechanisms Answer the following firmware and low-level systems questions. State assumptions about architecture and firm...
Compute Edit Distance
Compute Edit Distance Given two strings, return the minimum number of single-character operations needed to transform the first string into the second...
Design a prompt playground
Design a prompt playground for developers and prompt engineers. The product lets users write prompts, choose model settings, run prompts against AI mo...
Debug Python LRU Cache-Key Construction
Debug Python LRU Cache-Key Construction The source reports a Python LRU-cache bug in key construction from args and **kwargs but does not provide the ...
Design a Durable DAG Workflow for Order Refunds
Design a Durable DAG Workflow for Order Refunds An order that times out may need a refund. You are given a directed acyclic graph of refund steps and ...
Build a Resilient Chain of Clue-Driven HTTP Requests
Build a Resilient Chain of Clue-Driven HTTP Requests Implement or design a client that starts from one URL and follows a chain of HTTP responses. A su...
Design a Payment-Count Dashboard That Scales with Readers and Updates
Design a Payment-Count Dashboard That Scales with Readers and Updates Design a service that displays the total number of payments made on an administr...