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 Smallest Common Row Value
You are given a 2D integer matrix where each row is sorted in strictly increasing order. Return the smallest integer that appears in every row. If no ...
Solve classic backend coding problems
Solve the following coding problems. 1. Find the missing number from a concatenated range You are given an integer n and a string s. The string was fo...
Implement Prefix Match Filter
Design a data structure that stores a collection of prefix strings. Then, given a list of input strings, return every string that begins with at least...
Find high-value crypto users and top CTR
You are given three tables. Assume all timestamps are stored in UTC. - users(user_id BIGINT PRIMARY KEY, create_date TIMESTAMP): one row per user acco...
Maintain a Stream Median
Design a data structure for a stream of integers. It must support the following operations efficiently: - add_num(x): insert an integer x into the str...
Find least active countries
You are given an ads activity table. Table: ad_activity - ad_id BIGINT — unique ad identifier - advertiser_id BIGINT — advertiser that owns the ad - c...
Solve Signature, File, and Queue Problems
Solve the following interview-style problems: 1. Function signature matching You are given a registry of function definitions. Each function has an...
Determine Reporting Relationships
Build an in-memory organization model that supports three operations on employee IDs: 1. add_manager(a, b): employee a is the direct manager of employ...
Sample index from weighted probability distribution
Given an array weights[0..M-1] representing a discrete distribution over M outcomes, implement a function sampleIndex(weights) that returns an index i...
Implement greedy decoding and beam search
You are given access to an auto-regressive language model that can score the next token based on a prefix. Assume: - next_logprobs(prefix_tokens) -> M...
Debug SQL join that drops rows
You’re analyzing Home Improvement retail transactions to understand sales of Mulch during promotions. After joining multiple tables, your final result...
Solve two string DP/hash problems
Solve the following two coding questions. 1) Unique Morse Code Transformations You are given an array of strings words (lowercase English letters). Us...
Implement Kubernetes Service Dependency Queries
You are given an in-memory inventory of Kubernetes-like services. Each service has the following fields: `text Service { id: string // ...
Maximize sum with no adjacent elements
Given an array of non-negative integers nums, choose a subset of elements such that no two chosen elements are adjacent in the original array. Return ...
Zero out duplicates and sort an array
Coding question You are given an integer array arr of length about 75. - The data is not sorted. - The array may contain duplicate values. - You must ...
Determine balanced k values in a permutation
You are given a permutation p of the integers 1..n. For a number k (where 1 <= k <= n), call k balanced if there exists a contiguous subarray p[l..r] ...
Solve string grouping and tree right-view problems
Problem 1: Group words that are anagrams You are given an array of strings words. Two strings are anagrams if they contain the same characters with th...
Compute Cohort Retention Rate
You are given two tables: - users(user_id BIGINT, signup_ts TIMESTAMP) — one row per user. - user_activity(user_id BIGINT, activity_ts TIMESTAMP, even...
Check if a binary tree is complete
You are given the root of a binary tree. Determine whether the tree is a complete binary tree. A binary tree is complete if: - Every level, except pos...
Build a least-recently-used cache
Implement a fixed-capacity key-value cache with least-recently-used eviction. Requirements: - get(key) returns the value for key, or -1 if the key doe...