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 Distributed Crossword Solver
Design an online service that solves crossword-like word puzzles. A user submits a puzzle description that includes the grid layout, blocked cells, an...
Compute Infection Time in a Grid
You are given an m x n grid where each cell is one of the following: - 0: empty - 1: healthy - 2: infected Every minute, each infected cell spreads th...
Generate Available 30-Minute Time Slots
You are implementing availability generation for a scheduling service. Given: - start_datetime: the inclusive beginning of a requested date-time range...
Debug and harden trial-assignment Python code
You are given the following simplified Python snippet used to assign users and trigger a 1‑month free trial: """ import random, datetime, requests def...
Write SQL and Python for transaction analytics
You are given user and transaction data. Part A (SQL): Use a join and window functions to answer the prompts below using the following schema and samp...
Design a Global Marketing Email Platform
Design a marketing email system for a large consumer marketplace. The business wants to run campaigns that may send 2-3 marketing emails within a 15-m...
Identify Booking Drivers
You are a Data Scientist at a peer-to-peer car-sharing marketplace. The team wants to understand which product, listing, host, renter, and market feat...
Design an ACL authorization checking service
Design a centralized authorization (ACL) checking service used by other internal services to decide whether a principal can perform an action on a res...
Introduce yourself for a senior role
Prompt You’re interviewing for a senior engineering role. 1. Give a concise self-introduction (2–3 minutes). 2. Highlight 1–2 impactful projects, your...
Choose the Best Travel Mode
You are given a 2D grid representing a map, a start cell, a destination cell, and several transportation modes. Each mode has a per-step time cost and...
Find Containing Range
Design a class that supports efficient point queries over a set of integer ranges. You are given a collection of inclusive, non-overlapping integer ra...
Design Restart Strategy for Oracle Solver
You have an oracle-style math reasoning solver. On each independent run, the time to produce a correct answer is a random variable T with known distri...
Implement linear and logistic regression
Explain and implement linear regression and logistic regression from scratch. Your answer should cover: - The prediction function for each model - The...
Find a secret word using match feedback
You are given a list of unique words, each with the same length (e.g., 6 lowercase letters). One of these words is the secret. You can repeatedly make...
Optimize image filters on device
You are shipping an image-filter feature that must run entirely on a mobile device. Users expect preview latency below 30 ms on common phones, memory ...
Implement a TTL LRU Cache
Design and implement an in-memory bounded cache with per-entry expiration and LRU eviction. The cache stores uint32_t keys and std::string values. Eac...
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...
Solve Two Backtracking Array Problems
You will solve two independent coding problems. For each problem, first discuss edge cases, then implement a correct solution, and finally explain how...
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...
Model y from x and interpret distributions
Scenario You are given a dataset with one input feature x and a target y. The interviewer asks: “How would you model this?” Later, you are shown a plo...