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."
Design a dependency-aware job scheduler
Design a backend job scheduler where each submitted job consists of multiple tasks with dependency relationships. A task may run only after all of its...
Build a Local URL Shortener
Implement a local URL shortener that runs on a single machine. Design a small library or service with two core operations: - shorten(long_url) -> shor...
Design a Connect-Four-like board game
Design an object-oriented model for a turn-based, grid-based “drop token” board game similar to Connect Four. Game rules (define these precisely in yo...
Design a Family-Friendly Listing Classifier
Design a machine learning system for a short-term rental marketplace that classifies whether a property listing is suitable for families. Users should...
Design a batched inference API
Design an online machine learning inference service that supports dynamic batching. Multiple clients send small synchronous prediction requests to an ...
Design a GPU inference API
Design a scalable, GPU-backed inference API that serves multiple ML models — including large autoregressive models such as LLMs — to internal product ...
Design a low-latency ML inference API
System Design: Low-Latency ML Inference API (Real-Time) Context You are designing an in-region, synchronous ML inference API that sits on the critical...
Explain Out-of-Bounds Bugs and Infinite Loops
You are given a C or C++ code snippet that behaves incorrectly. The root cause is an out-of-bounds memory access, such as reading or writing past the ...
Design a Rental Marketplace Backend
Design the backend for a large vacation-rental marketplace similar to Airbnb. The system should support: - A home page that shows popular destinations...
Implement Factorial and Squares
Question In a live coding interview, write two Python functions and be ready to discuss their behavior. 1. factorial(n): Given a non-negative integer ...
Debug a PyTorch U-Net shape mismatch
You are given a PyTorch implementation of a U-Net-like segmentation model that should follow the original U-Net style with valid convolutions (no padd...
Design a ChatGPT-like serving system
Design a ChatGPT-like system for inference serving. Your design discussion should cover: 1. High-level architecture for chat completion (request routi...
Explain dataset size, generalization, and U-Net skips
You are interviewing for an ML Engineer role in an image/video team. Answer the following conceptual questions clearly and concisely. 1) Small vs. lar...
How to answer common recruiter screen questions
Question You are in an initial recruiter / phone screen for a software engineering role at OpenAI. The recruiter asks a mix of logistics, employment-h...
Implement Top-p (Nucleus) Sampling in NumPy
Implement top-p (nucleus) sampling for next-token selection in a language model, using only NumPy. Given a vector of raw logits over a vocabulary, top...
Design a superhero incident dispatch system
System Design: Superhero Dispatch (Uber-like) System Design a system that dispatches superheroes to real-world incidents (e.g., fires, robberies, mons...
Describe proudest project and toughest challenge
Behavioral questions 1. Proudest project: Tell me about the project you are most proud of. What was the goal, what did you personally own, and what wa...
Solve Wonderful Strings and Grid Queries
Two algorithmic tasks were reported. Task 1: Minimum-cost wonderful string A string is considered wonderful if, among the letters 'a' through 'j', at ...
Investigate Falling Brand-Ad Spend
On a video ads platform, there are two ad products: - Direct Ads: optimized for immediate response. - Brand Ads: when a user clicks the video ad, they...
Design a fraud detection system
Scenario You are designing an end-to-end fraud detection system for an online platform (e.g., e-commerce marketplace, payments, account signup, or ad ...