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."
Implement undo/redo with two stacks
Problem: Undo/Redo for a Simple Text Editor Design a data structure that simulates a very small text editor with undo and redo. You are given a sequen...
Explain FlashAttention, KV cache, and RoPE
You are interviewing for an LLM-focused role. 1. FlashAttention - Explain what problem it solves in transformer attention. - Describe the high-l...
Design a food delivery system
Design a food delivery platform (similar to common restaurant delivery apps). Core user stories 1. Customers can browse restaurants/menus, place an or...
Test whether samples follow a binomial distribution
You collect a dataset that you believe comes from a binomial process. Each observation is a count of successes. - You have i.i.d. samples \(x_1,\dots,...
Solve order-statistics and XOR-triplet problems
You are given two separate algorithmic problems. Problem 1: Count smaller elements to the right Given an integer array nums of length n, for each inde...
Design a Hybrid Evaluation Platform
Design an evaluation platform for model outputs that supports both human evaluation and automated LLM-based evaluation. The system should: - ingest pr...
Demonstrate culture fit and leadership
Behavioral & Leadership — Machine Learning Engineer (Onsite) Instructions Answer concisely using the STAR framework (Situation, Task, Actions, Results...
Design an object-oriented parking lot system
Design an object-oriented model for a parking lot management system. Requirements: - The parking lot has multiple levels; each level has multiple park...
Calculate Profit-Maximizing Price and Validate with Additional Data
Profit-Maximizing Price with Costs and a Demand Curve You sell a single software product at one price P. You are given fixed cost F, variable cost as ...
Explain annotation agreement and LLM vs human judges
Annotation Agreement and LLM-vs-Human Judges Context You are on a model-evaluation team. Datasets are labeled, and model outputs are scored, by humans...
Return a valid task order
You are given n tasks labeled from 0 to n - 1 and a list of prerequisite pairs prerequisites, where each pair [a, b] means task b must be completed be...
Handle Issues and Onboard Teammates
The manager and communication rounds focused on two prompts: 1. Tell me about a time you handled a cross-functional issue, operational incident, or di...
Design an ad recommendation and ranking system
You are building an ad recommendation/ranking system for a content feed (e.g., short-form videos). At each feed position, you may show either an organ...
Design file-processing API with long-running jobs
You are asked to design an HTTP-based API and high-level backend architecture for processing files in a cloud storage service (similar to a simplified...
Design appointment scheduling data model and APIs
Scenario You are extending an existing healthcare system that already has User and Patient management APIs. - Doctors and Staff are Users. - Patients ...
Minimize reduction cost and validate equal-sum pairs
You are given two independent coding tasks. Task 1: Minimum total cost to reduce an array You are given an integer array arr of length n. You may repe...
Design a rolling hit counter API
Rolling hit counter (time/space optimized) Design a data structure that records events (“hits”) and can return how many hits happened in the most rece...
Simulate room assignments for scheduled meetings
Problem You are given n meeting rooms labeled 0..n-1 and a list of meetings meetings, where each meeting is [start, end] with start < end. Meetings ar...
Reconstruct route from unordered travel tickets
You are given a list of directed travel tickets, each represented as a pair [from, to] (city names are strings), e.g. [["A","B"],["B","C"], ...]. The ...
Implement list and grid transformation tasks
You are given three independent coding tasks (as in an online assessment). Implement each as a separate function. 1) Uppercase–lowercase difference In...