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."
Find largest connected group of overlapping intervals
You are given n people, where person i works during an inclusive time interval [start_i, end_i]. Define a communication graph: - Each person is a node...
Explain overfitting, dropout, normalization, RL post-training
Machine Learning fundamentals Answer the following: 1. What is overfitting? How can it be mitigated in machine learning? 2. Narrowing to deep learning...
Compute max profit from one stock trade
Given an integer array prices where prices[i] is the stock price on day i, compute the maximum profit you can achieve by choosing at most one day to b...
Explain key React concepts and error handling
Frontend/React Fundamentals Questions Answer the following React and frontend engineering questions: 1. What is a Virtual DOM? 2. How does the Virtual...
Validate BFS order queries on a tree
You are given an undirected tree described by two equal-length arrays u and v (each of length n-1). For every index i, there is an undirected edge bet...
Calculate charge with a single price override
You are billing a customer based on usage intervals and a single temporary price override. Definitions - A usage record is an interval [start, end) wh...
Why do you want to join this company?
In a hiring-manager interview, you are asked: - Walk me through your past experience and the impact you’ve had. - Why do you want to join this company...
Compute height of tree with deleted nodes; minimize deletions
You are given a rooted tree (not necessarily binary). Each node has a list of children. Some nodes are marked as deleted = true. Define the effective ...
Implement array parity and tree level views
Implement the following coding tasks. 1. Check whether all values occur an even number of times - Input: an integer array nums. - Output: return...
Analyze video flags and reviews with SQL
You are designing SQL queries for YouTube Trust & Safety. Use the schema and sample data below. Unless stated otherwise, treat a flag as reviewed if t...
Write SQL and Python for transaction analytics
You are given user and transaction data. Part A (SQL): Use a join and window functions to answer the prompts below using the following schema and samp...
Debug Kubernetes crashes and review Python ingestion script
Part A — Kubernetes: Pod/Container Crash Debugging You are on call and a service deployed to Kubernetes starts failing. The Pod shows CrashLoopBackOff...
Find minimum cycle cost per node
Problem You are given a weighted directed graph with n nodes labeled 0..n-1 and m directed edges. Each edge is (u, v, w) meaning you can go from u to ...
Design query pagination for large datasets
Scenario You are building an API that returns a paginated list of records from a very large dataset (millions+ rows). Clients can specify: - Filters (...
Design a job scheduler ETL pipeline system
System Design Prompt Design a Job Scheduler + ETL pipeline system. The system should allow users (or internal services) to: - Define ETL jobs (extract...
Compute streaming sliding-window minimums
Problem You are given an integer array nums of length n and an integer window size k. You scan nums from left to right (streaming). At each index i, y...
Solve these algorithmic problems
You are given the following independent coding tasks. For each task, design an algorithm and implement a function that returns the requested output. -...
Design a model to choose dynamic K
Problem You are building a recommender system with a two-stage ranking pipeline: 1. Candidate retrieval (recall): fetch top-K candidates for a request...
Describe complex projects, failures, and pivots
In a software engineering internship interview, you may be asked a set of behavioral questions about project complexity, decision-making, failure, and...
Design a distributed tree node counter
Design a distributed tree node counter Distributed Tree Node Count with Two Messages You are given an N-ary tree of machines (one process per node). E...