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."
Approximate Pi from Random Points
You are given an array pts of points sampled uniformly at random from the unit square [0, 1] x [0, 1]. Each point is represented as an array [x, y], w...
Describe your most and least engaging work
You are interviewing for a Data Scientist role. The hiring manager asks: What kinds of work have been the most engaging for you, and what kinds have b...
Describe your best team and your role
Question This is a two-part behavioral question. Answer both parts with concrete, specific examples (use STAR where relevant), and connect what you va...
Design a Merchant Ledger Service
Design a ledger service for a payments platform. The system must provide: - An API to record a transaction for a merchant. - An API to query the curre...
Design an ad-click aggregation and enrichment pipeline
Scenario You are designing a data platform to measure advertising performance. Mobile apps and web browsers send ad impression and ad click events. An...
Design batch and streaming ETL architecture
Design batch and streaming ETL architecture System Design: End-to-End Data Platform for Product Analytics (Batch + Near-Real-Time) Context Design a sc...
Implement 2D convolution forward pass
Problem Implement the forward pass of a 2D convolution (conv2d) from scratch (no deep learning libraries). You are given: - Input tensor x with shape ...
Design a client-side comment system
Scenario You are asked to build a client-side comment system (no backend required). The focus is on data modeling, UI behavior, and persistence. Requi...
Implement permutations and image retrieval
The coding portion included several short exercises for a vision-focused ML role: 1. Given an array of distinct integers, return all possible permutat...
Debug a PyTorch U-Net shape mismatch
You are given a PyTorch implementation of a U-Net-like segmentation model that should follow the original U-Net style with valid convolutions (no padd...
Design a news feed ranking system
Design a personalized news feed recommendation system. Requirements: - Low latency serving (real-time feed generation). - Personalization using user b...
Spell Out a Nonnegative Integer
Given a nonnegative integer, return its English words representation. Implement a function that handles numbers from 0 through 2,147,483,647 inclusive...
Design an Attendance Payroll Service
Design the backend service for an employee attendance system. The service should support: - Employees clocking in and clocking out. - Computing each e...
Return a valid course completion order
You are given an integer n representing n courses labeled 0..n-1 and a list of prerequisite pairs prerequisites, where each pair [a, b] means you must...
Implement an LRU cache
Design and implement a data structure for a Least Recently Used (LRU) cache with a fixed capacity. The cache must support: - get(key): return the valu...
Find maximum value in huge text file
You are given the path to a very large text file on disk. The file has the following properties: - Each line contains exactly one signed 64-bit intege...
Describe conflict and failure using STAR framework
You are in a behavioral interview for a software/ML engineering role. The interviewer asks you to: 1. Describe a time you faced a significant conflict...
Design Points-from-Transactions Service
Design a Scalable Loyalty Points Service (USD → Points at 1 USD = 1.5 Points) You are designing a service that awards loyalty points for purchase tran...
Design CRUD APIs with async jobs
Scenario Design a small backend service that manages a core entity with CRUD operations and also supports an asynchronous background job triggered by ...
Compute each member’s current notification status
Question You are given two tables describing LinkedIn members’ push-notification settings. Compute each member’s current notification status as of 202...