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."
Compute Minimum Parentheses Additions
Given a string s consisting only of the characters '(' and ')', compute the minimum number of parentheses that must be inserted anywhere in the string...
Implement an in-memory SQL-like table
Implement a simplified in-memory SQL-like database for a single table. You should support the following operations on a table with a fixed schema (a l...
Compute Balances and Minimize Settlements
You are building a daily ledger service. A transaction record has three fields: timestamp, user_id, and delta_amount. delta_amount can be positive or ...
Return Top Department Suggestions
You are given a static in-memory list of Suggestion objects loaded by a server: `text Suggestion { ngram: string, department: int, score: int } ...
Design a Slack-like real-time messaging system
System Design: Slack-like Messaging (DMs + Channels) Design a Slack-like real-time messaging system that supports: Core features - Direct Messages (DM...
Apply operations efficiently using Command pattern
You are given an initial state and a list of operations that should be applied to it. Setup - The state can be thought of as a mutable object (e.g., a...
Simulate bus boarding with priority and wheelchairs
You are implementing a simplified bus boarding simulator. Model: - Person has at least: - id (string/int) - priority (boolean): if true, they shou...
Answer technical-challenge and motivation questions
Answer the following behavioral interview questions: 1) Describe the most technically challenging problem you have solved. What made it hard, what did...
Solve Seven Python Image and Data Tasks
You are given a Python 3 online assessment with seven independent coding tasks. For each task, implement a function named solution with the specified ...
Design a CI/CD pipeline with scheduler
Design a production-grade CI/CD pipeline (with its job scheduler) You are designing the internal CI/CD platform for a large engineering organization t...
Choose Optimal Network Retry Threshold
You work on a mobile music streaming team responsible for improving playback reliability while minimizing battery drain. When the app is streaming aud...
Implement Spreadsheet Cell Updates
Design and implement a small spreadsheet engine that supports setting and reading cell values. A cell name is a string such as "A1", "B12", or "AA3". ...
Generate Available 30-Minute Time Slots
You are implementing availability generation for a scheduling service. Given: - start_datetime: the inclusive beginning of a requested date-time range...
Design favorites and social game recommendations
Problem Design a backend system for a gaming app that supports: 1. Favorites ("Fav"): users can favorite/unfavorite games and view their favorites lis...
Design guardrails and fallback for LLM reliability
You operate a production application that uses an LLM to generate user-facing outputs (text actions, advice, summaries). The model is non-deterministi...
Merge Message Context Windows
You are given a chat history in which each message has a unique integer id and a string content. Message IDs are strictly increasing, and the full his...
Compare arrays, linked lists, hash tables, trees
Answer the following computer-science fundamentals questions: 1) What are the time complexities (Big-O) of common sorting algorithms (e.g., bubble sor...
Design device logging system with offline upload
Design a logging system that collects logs from many client devices, uploads them to the backend, and makes them viewable in a web UI within 3–5 minut...
Design a rate limiter
Problem: Design a Rate Limiter Design a rate limiting service to protect an API from abuse and to provide fair usage. Requirements - The API gateway (...
Traverse a tree and answer 2D prefix sums
You are given two independent coding tasks. Task 1: In-order traversal of a binary tree Given the root of a binary tree, return the in-order traversal...