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."
Explain ranking cold-start strategies
You are interviewing for a Machine Learning Engineer role on a search / recommendations / ranking team. The interviewer grounds the discussion in a la...
Design a Distributed Rate Limiter
Design a distributed rate limiter for a large-scale API platform. The rate limiter sits in front of backend services and decides, for each incoming re...
Design a stock order manager
Design an order management service (OMS) for stock buy and sell requests. The system does not match trades itself. Instead, it integrates with a singl...
Simulate Infection Spread on a Grid
You are given an m x n grid representing cells in a population. Each day, all state changes happen simultaneously. Infection neighbors are the 8 surro...
Answer Culture and Project Questions
Prepare answers for Anthropic's hiring-manager (HM) and culture interviews for a Software Engineer role. These are the two non-technical rounds in a f...
Design a Scalable Job Scheduler
Design an internal job scheduling platform for a large company. The platform lets internal services and engineers submit jobs that run at a specified ...
Deep Equality of Two Records
Deep Equality of Two Records You are given two records (think of them as instances of a struct / class / nested object). Write a function that decides...
Moderator System with Ranking, Communities, and Demotion
You are designing a system that tracks moderator privileges for an online community using a time-ordered log of moderation actions. Each log record ca...
Implement an Extensible Chatbot App
Implement a ChatApp class that processes user messages and routes them to bot responders. The system must support multiple bot types, and the design m...
Design Chatbot Personalization Memory
Design a text-only personalization and memory system for an AI chatbot. The chatbot should use a user's previous conversations, stated preferences, an...
Implement a Searchable Logger Pipeline
Design and implement an in-memory logging system. The system should support: 1. Adding handlers - A handler transforms a log message before it is s...
Design an ad frequency capping system
Design a real-time ad frequency capping system for an ads platform. When the ad server is deciding whether to show an ad to a user, it must enforce ca...
Monthly Cohort Retention
Monthly Cohort Retention A residential building-services company tracks every time a tenant interacts with its mobile app (for example, calling an ele...
Implement Persistent Memoization LRU Cache
You are given a code skeleton for a memoization cache that wraps functions like a decorator. The cache is already implemented as an LRU cache using an...
Explain Top-k and Top-p Decoding
In autoregressive text generation, a language model produces a vector of logits for the next token at each step. These logits are converted to a proba...
Design a Stock Trading Platform
Design a retail stock trading platform where users can buy and sell publicly traded stocks — a brokerage-style system in the spirit of Robinhood or We...
Estimate ads ranking revenue impact
You are the data scientist for an ads ranking team at a large social platform. The team has built a new ranking algorithm for feed ads. The new model ...
Solve estimation and probability brainteasers
This is a set of independent estimation and probability brainteasers of the kind asked rapid-fire from a slide deck. Treat each one separately. For ev...
Caesar Cipher with Translation-Table Optimization
Implement a Caesar cipher. Given a string text and an integer shift, return a new string in which every alphabetic character is rotated forward by shi...
Detect and Break a Cycle in a Singly Linked List
You are given the head of a singly linked list. The list may or may not contain a cycle: somewhere in the list, one node's next pointer may point back...