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."
Design a Thread-Safe Shared Counter
Design and implement a per-key call counter: a component that tracks how many times each distinct key has been seen. The API is a single method, for e...
Design an Ad Assignment API
Design an HTTP API that exposes an ad-assignment function as a production service. The underlying function is given a user, a list of browser position...
Build a React Parking Lot Manager
Build a React single-page application that a parking-lot attendant can use to run a small lot from a single screen. The lot has a configurable number ...
Design Camera Health Monitoring
Design a system that monitors the health of 10 million cameras and continuously reports, in near real time, how many devices are healthy and how many ...
Level-Ordered Dependency Build Order
Level-Ordered Dependency Build Order You are given a list of dependency declarations. Each declaration is a non-empty list of strings: - The first ele...
Design a distributed job scheduler
Design a distributed job scheduling system for internal engineering teams (think "cron as a service"). Teams register jobs through an API; the platfor...
Find Shortest Unique Prefixes
Given a list of distinct non-empty words, return the shortest unique prefix for each word in the same order as the input. A prefix of a word is consid...
Implement Focal Loss for Class-Imbalanced Classification
Implement Focal Loss for Class-Imbalanced Classification In dense detection and many real-world classification problems the data is highly imbalanced:...
Derive Backpropagation for Matrix-Product Layers
Consider a neural-network block whose output is produced by multiplying a sequence of trainable weight matrices together, then applying the resulting ...
Infection Spread on a Grid (Cellular Automaton)
Infection Spread on a Grid (Cellular Automaton) You are simulating how an infection spreads across a 2D grid of cells over a sequence of discrete time...
Implement a Unique Lines Command
Implement a simplified version of the Unix uniq command. Given an input text file, output the file contents with consecutive duplicate lines collapsed...
Executive-Round Behavioral: Proactive Decision-Making in Career and Projects
Executive-Round Behavioral: Proactive Decision-Making in Career and Projects This is a final ("executive") interview round. The interviewer cares less...
Boolean Expression Tree with Leaf Flips
Boolean Expression Tree with Leaf Flips You are given a boolean expression represented as a tree. - Each leaf node holds a boolean value: true or fals...
Shortest Bridge to Connect Two Islands
You are given an n x n grid where each cell is either water (0) or land (1). Land cells that are adjacent horizontally or vertically belong to the sam...
Design a DAU/MAU metrics system
Question Design a system that computes and serves product engagement metrics — DAU (Daily Active Users) and MAU (Monthly Active Users) — for a large c...
Design a RAG system with evaluation
Scenario Design a Retrieval-Augmented Generation (RAG) system that answers user questions over a private corpus (internal docs, PDFs, knowledge-base a...
Debug a Broken Transformer
You are handed a Transformer model implementation (PyTorch-style) that does not train correctly — the loss is not behaving as expected. The model runs...
Grid Robot Command Simulator
Grid Robot Command Simulator You are building a small command-driven robot simulator. A single robot lives on a 2D grid and is controlled by a stream ...
Least Frequently Used (LFU) Cache
Least Frequently Used (LFU) Cache Design and implement a data structure for a Least Frequently Used (LFU) cache that supports get and put operations i...
Debug and Extend Cursor Queries
You are in an AI-assisted coding interview. You may consult AI-generated suggestions, but you are expected to validate them, explain your reasoning ou...