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."
Solve three easy algorithm problems
You are given three independent algorithmic tasks. For each one, explain your approach (no need to run code). 1) Merge two sorted lists (integers inst...
Compute Optimal Die Re-roll Strategy
A fair six-sided die pays its face value in dollars. You may roll up to three times total. - After the first or second roll, you may either keep the o...
Implement minimal RLE encode/decode with max run K
You are given a run-length encoding (RLE) format that compresses a string by grouping consecutive repetitions of a short substring. Encoding format An...
Select transactions to maximize fees under size
Problem: Max-fee block assembly You are given N transactions. Each transaction has: - id (unique) - size (positive integer) - fee (non-negative intege...
Teach a networking concept to a beginner
Scenario You previously worked as a tutor/TA for a computer networking course. Prompt Pretend you are teaching a short mini-lesson (3–5 minutes) to a ...
Design an image-to-multilanguage translator
Scenario Design a service that lets users upload an image containing text (e.g., a menu, screenshot, street sign), and returns the same image with the...
Implement CSAT tracking and call timing
You were asked to solve two coding problems. Problem 1: Implement a rolling CSAT tracker Implement a class CSATTracker for customer-satisfaction score...
Implement K-means and handle train-inference mismatch
Part A — K-means (implementation + concepts) You are given a dataset \(X \in \mathbb{R}^{n \times d}\) and an integer \(k\). 1. Explain K-means: what ...
Count distinct island shapes in a grid
Problem You are given an m x n grid of integers where 1 represents land and 0 represents water. An island is a group of horizontally or vertically adj...
How do you interpolate in 3D?
Given two points in 3D space, p0 = (x0, y0, z0) and p1 = (x1, y1, z1), how do you compute a point between them using interpolation? Define the interpo...
Find constant minimizing absolute error
You have a dataset of real-valued targets \(y_1, y_2, \dots, y_n\). You want to fit a constant predictor (no features): - Prediction: \(\hat y_i = c\)...
Clean scores and return top 5 students
Implement a Python function to clean and rank student scores. You are given a table (or DataFrame) students with schema: | column | type | notes | |--...
Analyze trading RFQ competitiveness data
RFQ Competitiveness Analysis in Excel You are given an Excel file containing a few months of trading RFQ (request-for-quote) data for a sales & tradin...
Design navigation-safety simulation parameters and experiments
You must design a simulation-based evaluation for navigation safety of an autonomous agent. Be specific: a) Enumerate scene parameters to vary and jus...
Decompose and optimize delivery operational costs
Decompose Operational Cost per Order and Optimize Without Harming Experience Context: You are evaluating operational cost per order for a two-sided fo...
Write SQL for geo posting-frequency drops
Using the schema below, write a single ANSI SQL query (window functions allowed) that identifies countries with the largest share of creators whose po...
Implement robust one/two-sided p-value function
Implement p_value(stat, alternative, dist, df=None) Context: You're building a small, production-quality helper to compute p-values for common one- an...
Design a ChatGPT-like web chat UI
Scenario You are interviewing for a front-end role. Design a web application similar to a ChatGPT chat experience. The interviewer expects a front-end...
Explain differences between Python list and tuple
In Python, what are the key differences between a list and a tuple? Cover: - Mutability and implications - Performance and memory considerations (high...
Evaluate Smart Wait Launch Impact
A ride-hailing or autonomous-vehicle product launches a feature called Smart Wait. Before a user confirms a ride, Smart Wait shows a more conservative...