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."
How to estimate feature impact on usage time
Problem A product team believes a new feature (or a variable you can influence, e.g., enabling notifications, new feed ranking, new UI) changes user t...
Design an event analytics platform
Design a data platform for raw product events with this schema: - event_id - event_type - user_id - user_setting as a nested object - event_metadata a...
Design an API for Pascal Triangle
Design an HTTP API that returns Pascal's triangle for a requested height. The server should return only numeric data, while the client is responsible ...
Implement Chat Event Counter
Design an in-memory counter for chat activity. You need to implement a class with the following two methods: `text processEvent(userId: string, chatId...
Implement an in-memory DB with TTL backup/restore
Problem Design an in-memory database that stores values in a nested structure: - key (string) → field (string) → value (string) - Each (key, field) en...
Traverse a path and print directory tree
Problem (Node.js) You are given an absolute or relative file-system path rootPath. Write a Node.js function/program that: 1. Validates that rootPath e...
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 ...
Build AI-Assisted Full-Stack Transactions App
Build a minimal full-stack app for monetary transactions This is the "AI coding" round: using an AI coding tool of your choice (e.g., Cursor), build a...
Respond to long-term concerns after A/B success
Your model performs well in an A/B test (statistically significant lift on the primary metric). However, your manager believes the model may harm long...
Find Earliest Train Route
You are given a discrete train timetable and need to find a valid route through the train network. Each train has an itinerary represented as a sequen...

Implement Dependency-Aware Task Scheduler
Design and implement a task scheduler that supports adding tasks and consuming executable tasks in deadline order. Each task has: - taskId: a unique i...
Answer leadership and ambiguity scenarios
Question Answer the following behavioral & leadership questions with concrete examples. Use a structured format such as STAR (Situation, Task, Actions...
Explain ML and statistical modeling
Discuss the following machine learning and statistics topics: - In a supervised learning problem with severe class imbalance, what techniques would yo...
Design a scalable payment system
Design a scalable payment system Design a scalable payment system. The system must support both peer-to-peer money movement between users and merchant...
Define Ultra success metrics and detect suspicious transactions
You work on a fintech product with these existing tables (UTC timestamps). You may only use these tables/columns; if a metric cannot be measured direc...
Design an S3-like object storage service
Design a cloud object storage service similar to Amazon S3. The service should allow clients to upload, store, and download large files reliably and e...
How would you measure product success?
You are interviewing for a Data Scientist role supporting a subscription-based collaborative design software product used by teams. The product is sol...
Calculate Transaction Fees
You are building a payment processor. Each transaction has an amount in cents, a payment type, and a payment status. The platform charges a percentage...
Rearrange Tasks With Cooldown
You are given a list of tasks, where each task is represented by an uppercase letter, and an integer cooldown. Rearrange the tasks into an execution o...
How would you design delay and watchlist models?
You may be asked one or both of the following machine-learning case questions: 1. Flight-delay prediction case An airline wants a model that predicts ...