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 concurrent latency percentile tracker
Design a thread-safe LatencyTracker class that supports: 1. Recording samples - Input: timestamp (e.g., epoch millis) and latencyMs (integer millis...
Design a video recommendation system
Scenario You are designing an ML-driven video recommendation product (home feed + “up next”) for a consumer app. The interviewer focuses heavily on in...
Compute probabilities and expectations in random processes
This is a rapid-fire probability and expectation round: a sequence of short, self-contained brain-teasers solved on a whiteboard. The interviewer expe...
Should WhatsApp Launch Group Calls?
Assume WhatsApp currently supports only 1:1 audio and video calling and is considering launching group calling. You are the data scientist evaluating ...
Assess Demand for Group Video Chat
Meta is considering adding a group video chat feature to an existing communication product that currently supports messaging and possibly 1:1 calling....
Design autocomplete and merchant bulk edits
System Design Prompts 1) Design search engine input suggestions (autocomplete) Design a system that provides real-time query suggestions as a user typ...
Design a Top-K trending service
Scenario You implemented a function to compute “top K” (e.g., most frequent items). Now design a backend service that provides similar functionality a...
Solve Reported OA Coding Problems
The post describes several algorithm questions from an online assessment. The concrete problems that can be reconstructed are: 1. Remove Blocks in a G...
Compute tree depth and meeting rooms
Solve both coding problems. Problem 1: Maximum depth of a binary tree Given the root of a binary tree, return its maximum depth. The maximum depth is ...
Build a Weekly Calendar
Implement an interactive weekly calendar UI. Requirements: - Display a one-week calendar with 7 days. - The calendar should be divided into 1-hour tim...
Partition a Target String by Source Substrings
You are given two strings: - target: the string that must be represented. - source: the string whose substrings may be used. Return a partition of tar...
Support updates and count target-sum pairs
You are given two integer arrays: - A (fixed / primary) - B (modifiable / secondary) You must process a sequence of operations of two types: 1. Update...
Design an employee directory with reporting queries
Scenario Design an internal employee management system. Functional requirements - CRUD for employees: - Create/update employee profile (name, title,...
How to evaluate a new Carousel feature
Context You are a Data Scientist at Pinterest. The product team wants to add a horizontal Carousel module at the top of the Home feed (similar to an I...
Design Experiments to Measure Promotion Scheduling Impact
Design Experiments to Measure Promotion Scheduling Impact Scenario A food delivery marketplace is releasing flexible promotion scheduling (e.g., time-...
Compute rainwater accumulation on a height grid
Mountain Rainfall Accumulation You are given an m x n 2D integer grid elevation, where elevation[r][c] is the terrain height at cell (r, c). Assume 1 ...
Check if each prefix forms 1..k permutation
You are given an integer array arr of length n that is a permutation of the numbers 1..n (each number appears exactly once), but in arbitrary order. F...
Design a search-to-ads ranking pipeline
Prompt Design a high-level search + ads ranking system for an app where a user issues a query and the product shows a mix of organic search results an...
Design distributed message queue service
Design a Distributed Message Queue Service Problem Statement Design a distributed message queue system that supports very high throughput for both pro...
Debug wrong DOM attributes in unknown framework
Frontend Debugging Plan: Incorrect DOM Attributes in an Unfamiliar Framework Context You join a team using an unfamiliar frontend framework. In the br...