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 Maximum Island Perimeter
You are given an m x n binary grid where 1 represents land and 0 represents water. An island is a group of land cells connected vertically or horizont...
Build Ranked Feed With Photo Batching
You are given a list of feed objects. Each object has: - id: a unique string - type: one of Normal, Video, or Photo - score: a numeric ranking score C...
Find Maximum Chain Activations
You are given n devices, where each device is represented as [x, y, r]. Device i is located at coordinates (x, y) and can directly activate device j i...
Implement Multi-Level In-Memory Services
Implement the following independent multi-level in-memory service simulations. In an interview, you may receive one scenario and unlock the levels seq...
Assign Minimum Workers to Jobs
You are given a line-delimited text stream representing jobs. Each job record contains a start time and a duration, for example 1030 30, meaning the j...
Solve Knight and Reversal Problems
The online assessment contained two coding problems: 1. Generalized knight shortest path: Given an integer n, consider an n x n chessboard with coordi...
Build a Fuzzy Keyword Index
Implement a class that preprocesses a document and supports repeated keyword lookups. Requirements: - The constructor receives a text string containin...
Find Top K Largest Numbers
Given an unsorted array of integers nums and an integer k, return the k largest numbers in the array. The solution should use a heap rather than sorti...
Solve Several Algorithm Problems
The interview included several coding tasks: 1. Longest symmetric substring: Given a string s, return the longest contiguous substring that reads the ...
Wrap Matching Substrings in Bold Tags
During a machine learning engineer phone screen, the coding task was: You are given a string text and a list of strings patterns. Return a new string ...
Count Same-Day Registered Posters
You are given two tables: `text users - user_id: unique identifier for a user - registered_at: timestamp when the user registered posts - post_id: uni...
Check connectivity between two subway stations
You are given a description of subway stations A, B, C, D, E, ... as a graph. For each station, you are told which other stations it directly connects...
Analyze sales with groupby
You are given three pandas DataFrames representing a food delivery marketplace: - orders(order_id, product_id, quantity, unit_price, status) - product...
Infer Generic Return Types
Build a small type-inference engine for a toy language. Do not parse raw strings; the input is already constructed as Python objects. Type model: - Pr...
Track Expiring GPU Credits
Implement a GPU credit tracking system that processes time-stamped events arriving out of order. Operations: - add_credit(amount, start_time, duration...
Compute Driver Pay with Double-Pay Windows
You are building payroll logic for a delivery platform. Given a list of order records for one delivery driver, compute the total amount the driver sho...
Aggregate loans and match repayments
You are building a loan servicing tool. You are given two datasets. Part 1: Aggregate raw loan records Each raw loan record has the following fields: ...
Merge Two Lists of Non-Overlapping Intervals
You are given two lists of closed integer intervals, a and b. Each interval is represented as a pair [start, end] with start <= end, and it covers eve...
Design a Real-Time Trending Hashtags System
Design the backend system that detects and serves trending hashtags from posts on a large social network (Facebook-scale). The service continuously in...
Find Top-5 Similar Rows
You are given two point-in-time snapshot tables generated on the same day in UTC. There is no direct key relationship between the tables; each row in ...