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 KV store with QPS API
Design a key-value (KV) store that supports basic read/write operations and also exposes an API to report QPS (queries per second). Functional require...
Design a Credit Scoring Platform
Design a credit-scoring platform for 300 million users. The platform can obtain user credit data from external credit bureaus. It should ingest bureau...
Design a Scalable Calendar Service
Design an online calendar service (think Google Calendar) that supports both individual and shared calendars. Users must be able to create, update, de...
Answer Amazon-style behavioral questions
You are interviewing for a role at Amazon and are asked the following behavioral questions. Answer each using the STAR method (Situation, Task, Action...
Design and Implement an LRU Cache
Design and Implement an LRU Cache Design a data structure that implements a Least Recently Used (LRU) cache with a fixed positive capacity. The cache ...
Count Candies from Unlockable Boxes
You are given an object-oriented representation of boxes in a house. Initially, exactly one box is physically accessible. Each Box has: - A unique id....
Find frequent IPs from a huge file
You are given a very large log file (too large to fit in memory). Each line contains an IPv4 address (e.g., 203.0.113.7). Design an approach to answer...
Design streaming error-log counting with moving average
Design a core component in a streaming system: Input: - Multiple upstream services continuously emit log events. - Each event includes at least: servi...
Design A Scalable Web Crawler
Design a scalable web crawler that discovers, fetches, parses, and stores web pages for downstream use such as search indexing or content analysis. Yo...
Merge Overlapping Collinear Segments
You are given a list of 2D geometric segments: vector<vector<pair<double, double>>> segments Each inner list represents one segment and contains at le...
Design GenAI Fine-Tuning and Agent Tradeoffs
You are interviewing for a software engineering role involving generative AI infrastructure and quantitative applications. The interviewer wants to un...
The Celebrity Problem
The Celebrity Problem At a party there are n people, labeled 0 to n - 1. Among them there may be exactly one celebrity — a person who satisfies both o...
Time-Based Key-Value Store
Time-Based Key-Value Store Design a key-value store that remembers multiple versions of each key, stamped with an integer time, and lets you read the ...
IPv4 CIDR Range Membership Queries
IPv4 CIDR Range Membership Queries You are building a lookup component for a network access-control system. The system is configured with a set of IPv...
Path Resolution with Symbolic Links
Path Resolution with Symbolic Links Implement the path-resolution logic of a Unix-style cd command, including following symbolic links and detecting l...
Explain Transformer Attention Fundamentals
In a machine learning fundamentals interview, explain the core mechanics of Transformer models and modern large language model (LLM) training. The int...
Implement an Alternating Tic-Tac-Toe Game
Implement a Tic-Tac-Toe game for two players. Requirements: 1. The board is a standard 3 x 3 grid. 2. Players do not need to be passed into each move....
Hierarchical Access Control for an Advertising Platform
Design an access-control system for an advertising platform. Advertisers are organized into a hierarchy of groups. A group may contain other groups (s...
Design Real-Time Trending Likes
Design a real-time analytics service for a large social platform. The service receives like and unlike events for posts. It must support the following...
Design Food Ratings and Driver Payouts
Design the backend for a food-delivery product (think DoorDash-style marketplace). The system has two distinct surfaces that you must address together...