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 Top-K trending items service
Design a system that returns the Top K items (e.g., videos/posts/products) by popularity. Requirements - API to fetch: GET /topk?window=10m&k=100 retu...
Explain how browser authentication works with JWTs
Explain, at a high level, how authentication typically works in a browser-based web app when using JWTs. Cover: - Where the token is stored (e.g., mem...
Implement an in-memory key-field-value DB with TTL
In-Memory DB with TTL + Scan + Backup/Restore Implement an in-memory database storing records by (key, field) -> value with optional TTL. Data model /...
Implement a Flappy Bird Jump Agent
Implement a function should_jump(state) -> bool for a simplified Flappy Bird game. The bird has a fixed horizontal position bird_x and a vertical posi...
Evaluate Overlapping Shelf Ranking Experiments
Fetch is running two A/B experiments in its mobile app. Product context The app displays product shelves. Each shelf contains multiple products, and t...
Explain attention variants and their tradeoffs
You are asked to explain and reason about modern Transformer attention mechanisms. 1) Scaled dot-product attention - Define the operation mathematical...
Design quality checks for spreadsheet LLM data
You are given a dataset for a spreadsheet assistant. Each example contains: 1. a natural-language prompt, 2. an Excel-style table or worksheet represe...
Estimate constant under absolute loss
Suppose you have observed target values \(y_1, y_2, \dots, y_n\), and you want to fit the simplest possible model that predicts the same constant valu...
Design Slack-like multi-tenant global messaging system
Design a team messaging platform similar to Slack that supports multiple organizations (multi-tenancy) and is deployed globally. Functional requiremen...
Simulate turn-based monster team battle
Design an object-oriented model and implement the core battle logic for a turn-based fight between two teams of monsters. The system should simulate t...
Implement K-Means and compare with GMM
Implement K-Means clustering from scratch for a dataset X of shape (n_samples, n_features) and a target number of clusters k. Your implementation shou...
Design an ads data model
System Design / Data Modeling: Ads Data Model Design the data model (logical schema) for an ads platform that supports: - Advertisers creating campaig...
Prevent Private Code Leakage in Coding Agents
Meta trains or fine-tunes coding agents using private source-code repositories. These agents may later be used to answer coding questions, generate co...
Describe how you prevent project delays
Answer the following behavioral questions. 1) How do you ensure your project won’t be delayed? Explain your concrete methods, habits, and mechanisms y...
Explain train-test generalization gap
A model performs very well on the training set but much worse on a held-out test set. Explain why this can happen and how you would diagnose and fix i...
Reverse nodes in even-length linked-list groups
Problem Given the head of a singly linked list, you will traverse the list in contiguous groups of increasing size: the 1st group has size 1, the 2nd ...
Explain benefits of a lockfile
When running a JavaScript app using package managers like npm or yarn, what is the purpose of a dependency lockfile (e.g., package-lock.json or yarn.l...
Measure free-month promotion impact
You are a data scientist evaluating a one-month free subscription promotion for new users. The business wants to know whether the promotion should be ...
Return all valid word-break sentences
Given a string s and a dictionary of strings wordDict, insert spaces into s to form a sentence such that every token is in wordDict. Return all possib...
Describe how you use Kubernetes
Describe how you use Kubernetes System Design: Practical Kubernetes (K8s) Use and Operations Context: In a technical screen, you are asked to describe...