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."
Merge Overlapping Time Intervals
You are given a list of closed time intervals. Each interval is represented as [start, end], where start <= end. Write a function that returns the sma...
Choose lock granularity for concurrent storage
You are implementing a component inside a storage engine that is accessed concurrently (e.g., an in-memory index, metadata cache, or block map). Discu...
Solve four OA algorithm problems
You are given four independent coding questions. 1) Count square subgrids (multiple queries) For each query, you are given two integers R and C repres...
Answer ML fundamentals and diagnostics questions
You are taking a timed online assessment with multiple-select and numeric-response questions. 1) Confusion-matrix metrics (multiple select) A binary c...
Design a trie-based URL router with wildcards
Design a trie-based URL router with wildcards Implement a URL routing matcher that supports adding route patterns and matching request paths, using a ...
Solve a Skyscraper puzzle efficiently
Design and implement a solver for the Skyscraper logic puzzle on an $N \times N$ grid, where $3 \le N \le 7$. The board is a grid of building heights....
Implement discounted card purchases
Implement purchase logic for a gem-based card game. There are five gem colors: BLUE, WHITE, GREEN, RED, and YELLOW. Each Card has: - a color represent...
Implement four coding challenges
You are asked to solve the following four independent coding problems. --- 1) Block Placement Simulator (Tetris-like) You have an empty n x m grid (ro...
Design and implement an LRU cache
Problem Design and implement an LRU (Least Recently Used) Cache that supports the following operations in O(1) average time: - get(key) → returns the ...
Implement Sparse Matrix Operations
Implement core sparse linear-algebra utilities for interview-style ML code. Tasks: 1. Compute the dot product of two sparse vectors efficiently. 2. Im...
Extend a Maze Solver
You are given an existing grid-based maze solver with bugs and several requested feature extensions. The maze uses the following symbols: - S: start -...
Discuss projects, mentorship, and conflict resolution
Answer the following behavioral questions with concrete examples: 1) Project deep dive: Describe a project you worked on that had meaningful impact. W...
Remove minimum invalid mixed brackets
Given a string s containing letters and bracket characters from the set (), [], {}, remove the minimum number of bracket characters so that the result...
Explain LLM tuning and transformer basics
Answer the following machine learning questions: - Describe a project where you fine-tuned a large language model or another large foundation model. E...
Design a URL Shortener
Design a URL shortening service similar to Bitly. The system should support: - Creating a short URL for a given long URL - Redirecting a short URL to ...
Predict future time-series values
Predict future time-series values End-to-End Time-Series Forecasting (PyTorch) Context You are given one or more regularly sampled numeric time series...
Implement Persistent KV Store Serialization
Implement a persistent in-memory key-value store. Requirements: - Keys and values are arbitrary byte strings or UTF-8 strings; do not rely on delimite...
Transform clickstream with pandas sessionization
Given a pandas DataFrame events with columns [user_id:int, ts:str ISO8601 or NaT, url:str, server_log_ts:datetime], build 30-minute inactivity session...
Implement string/matrix simulations and counting pairs
You are given several independent implementation-focused tasks. For each task, write a function that returns the required value. Task 1 — Count matchi...
Describe a challenging project
You are interviewing for an L5 Data Scientist role. Answer the following behavioral questions in a way that demonstrates Deliver Results: 1. Tell me a...