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."
Build a CSV Query Engine
Implement a small in-memory CSV query engine. You are given CSV text where the first line contains column headers and each remaining line contains one...
Design a Recipe Manager
Design an in-memory recipe manager with four levels of functionality. No UI is required; focus on clean APIs, data structures, and edge-case handling....
Design API that aggregates three downstream APIs
You are given three existing HTTP JSON APIs owned by other backend services: - Service A: GET /service-a?user_id={id} → returns basic user profile dat...
When to use a dictionary vs an array?
Question You’re implementing a feature and must choose between using an array/list or a dictionary/hash map to store and access data. Explain when you...
Evaluate ETA Impact on Conversion
You are a Senior Data Scientist at a ride-hailing company such as Uber. ETA refers to the estimated pickup time shown to a rider before they decide wh...
Count weekly customers with ≥$1000 YTD spend
Question You are given a transaction-level table and must compute a weekly time series of how many customers have reached a year-to-date spending thre...
Choose DynamoDB vs MySQL for a backend
In a backend system, you must choose a primary database for a core service. Explain when you would choose a key-value/NoSQL store (e.g., DynamoDB-like...
Design a meeting scheduler and shopping cart
You are asked to do two system-design prompts. Prompt A: Meeting Scheduler Design a meeting scheduling system (similar to a calendar + scheduling assi...
Describe an ML system you built
Describe a machine learning system that you previously designed, built, or owned. Cover the problem statement, business goal, data sources, feature en...
Should you roll out if NSM decreases?
Scenario You ran an experiment. The north star metric (NSM) is profit per order. Observed results - Average order volume increased in treatment vs con...
Assemble DNA payload strings from tagged fragments
You are given a list of DNA-like fragments. Each fragment is a tuple: - start_tag: string - end_tag: string - payload: string A valid DNA chain is for...
Design a real-time recommendation system
You are asked to design a real-time recommendation system for a large-scale consumer product (for example, recommending items or content to users in a...
Design a Parking Garage Object Model
Design an object-oriented model for a multi-level parking garage. The garage should support: - Multiple floors and parking spots. - Different vehicle ...
Represent k-means as an MLP
Given fixed centroids q_1, ..., q_k and an input vector x, show how the nearest-centroid assignment step of squared-Euclidean k-means can be implement...
Design TikTok Data Engineering Systems
You are interviewing for a data engineering role at a large short-video platform. Design and discuss the following systems: 1. Massive video upload pr...
Solve Matrix Traversal and Pair Sum
You will solve two independent coding problems. Problem 1: Traverse a Matrix in Spiral Order Given an m x n matrix of integers, return all elements in...
Design Multicloud Publishing and API Gateway
You will discuss two system design problems. Problem 1: Design a Database-to-Multicloud Publishing System Design a system that reads records or events...
Compute nearest bathroom distance for each desk
You are given an m x n grid of characters containing only: - 'B' = bathroom - 'D' = desk - '_' = empty cell From any cell you may move one step up/dow...
Debug a Transformer bug in an unfamiliar repo
You are given an unfamiliar GitHub repository that implements a Transformer model. The interviewer claims there is a bug causing one of the following ...
Explain Your Project and Manager Feedback
You are interviewing for a Machine Learning Engineer role on a news product. Answer the following behavioral questions clearly and concisely: 1. Walk ...