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."
Implement CLIP Contrastive Loss
Given a minibatch of paired image and text embeddings, implement the symmetric contrastive loss used in CLIP-style image-text representation learning....
Merge Multiple Sorted Arrays
You are given n sorted arrays of integers. Merge all arrays into one sorted array and return it. Requirements: - Preserve duplicate values. - Handle e...
Design a multi-tenant quota system
Design a Global Multi-Tenant Quota Service (Single Global Quota per User) Context Multiple upstream products (e.g., Drive, Photos) share a single glob...
Replace Delimited Tokens in a String
Given an input string s and a dictionary replacements mapping keys to replacement strings, replace every placeholder in s with its corresponding value...
Design a mobile banking app backend
Scenario Design the backend system for a mobile banking app. Users can: - Sign up / log in - View balances and transaction history - Transfer money be...
Describe a Trade-off Design Change
Tell me about a time when you changed a system design because of an important trade-off. Explain the original design, the competing goals or constrain...
Explain Compiler Pipeline and LLVM Backend
You are interviewing for a compiler engineer role. Explain the major stages of a modern compiler, then discuss common optimization techniques and how ...
Implement a Simplified DNS Resolver
Implement a simplified DNS resolver in Python. You are given an in-memory DNS zone and must complete a small resolver step by step. The goal is not to...
Design Place Recommendation System
Design a machine learning system for a maps or local-discovery product that recommends places a user may want to visit. The system should provide pers...
Find invalid transactions in time-sorted input
Problem You are given a list of transaction records, already sorted in non-decreasing order by time. Each transaction is a string in the form: "name,t...
Design an event analytics platform
Design a data platform for raw product events with this schema: - event_id - event_type - user_id - user_setting as a nested object - event_metadata a...
How to estimate a feature’s causal impact on time spent
You work on a Roblox-like game platform. A new product change ("feature") is rolled out and you want to estimate its causal impact on user engagement,...
Design a location-based radius top-K search
Design a location-based search service. Input: - latitude, longitude - radius (meters) - K Output: - The top K locations within the radius. The term “...
Design an Online Bookstore
Design an online bookstore platform. Customers should be able to search for books, view book details, add items to a cart, place orders, pay, and trac...
Validate a Parent-Child Forest
You are given a list of directed edges, where each edge is represented as (parent, child). The edges describe parent-child relationships among nodes i...
Solve Stack and String Shift Problems
You are asked to solve two independent coding problems. Problem 1: Validate Delimiter Pairs Given a string s containing only the characters (, ), {, }...
Simulate Transaction Lock Scheduling
Implement an in-memory transaction lock simulator. You do not need to create real threads; you only need to simulate how transactions acquire locks, b...
Design Ordered CUDA Reduction
In CUDA, a parallel reduction can produce different results if the combination order is not fixed, especially for floating-point arithmetic where addi...
Filter ads by a single rule
Single-Rule Ad Filter Context When a user watches content, the system needs to filter an ad pool to find ads that match one rule. Implement a lightwei...
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 ...