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 Feature, Model, and Validation Choices
You are interviewing for a Data Scientist role. Describe how you would approach an end-to-end machine learning project on large-scale data. In your an...
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...
Reverse even numbers in a list
Given an integer array nums, remove all odd numbers and return the remaining even numbers in reverse order (preserving no other ordering constraints)....
Determine if all courses can be completed
You are building a planner for a training program with n courses labeled 0 through n - 1. You are given a list of prerequisite pairs prerequisites, wh...
Merge two sorted arrays in-place
You are given two integer arrays sorted in non-decreasing order, and two integers m and n: - nums1 has length m + n. The first m elements of nums1 con...
Calculate Order Request Metrics
You are working with DoorDash order and delivery-request data. Write SQL to answer the questions below. Tables: 1. orders - order_id BIGINT, primary k...
Design in-memory delivery billing core APIs
You are asked to design an in-memory billing service for a food-delivery platform. The focus is on data structures and API behavior; you may ignore pe...
Implement array merge, round-robin scheduler, and trading simulator
You are given three independent coding prompts. For each prompt, clearly define your function/class interfaces, handle edge cases, and analyze time/sp...
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): - Return th...
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...
Design an API for Pascal Triangle
Design an HTTP API that returns Pascal's triangle for a requested height. The server should return only numeric data, while the client is responsible ...
Design a Recipe Manager
Design an in-memory recipe manager with four levels of functionality. No UI is required; focus on clean APIs, data structures, and edge-case handling....
Design a Weighted Log Distributor
Design a high-throughput log distributor. Agents running on application and infrastructure hosts send packets to the distributor. Each packet may cont...
Maximize revenue by choosing one query type
You are given a virtual warehouse that can execute queries. There are n query types, and you must choose exactly one query type to run repeatedly for ...
Reconstruct route from unordered travel tickets
You are given a list of directed travel tickets, each represented as a pair [from, to] (city names are strings), e.g. [["A","B"],["B","C"], ...]. The ...
Build model to predict package delivery time
You are building an ML model to predict package delivery time (ETA) for shipments. Given historical shipping data (order created time, origin/destinat...
Shift Non-Zero Elements Left In Place
Shift Non-Zero Elements Left In Place You are given an integer array nums. Rearrange the array in place so that every element equal to 0 is moved to t...
Merge Overlapping Intervals
Merge Overlapping Intervals You are given an array intervals where each element intervals[i] = [start_i, end_i] represents a closed interval on the nu...
Merge overlapping time intervals
Problem: Merge Intervals You are given an array of intervals intervals, where each interval is a pair [start, end] with start <= end. Merge all overla...
Design delayed job scheduler (LLD)
Design a Delayed Job Scheduler (Low-Level Design) Design a service that schedules a job to execute X seconds in the future with second-level accuracy....