Machine Learning Engineer + Data Scientist + Software Engineer 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."
Build the Largest Available Sequence
This question evaluates algorithmic problem-solving skills in state simulation, constrained selection, and lexicographic sequence maximization, measur...
Investigate Harassment Surge and Mitigation
Question You work on content integrity. Your monthly moderation analysis shows that the Harassment violation type increased sharply in the most recent...
Process time intervals and detect overlaps/gaps
You are given n time intervals representing debug log segments. Each interval has a start time, an end time, and an associated text message. - Each in...
Design a web search engine pipeline
Design the high-level pipeline of a web search engine. Assume you need to support internet-scale search (billions of web pages) with low-latency queri...
Increment Digit Array
This question evaluates a candidate's competency in array manipulation and elementary arithmetic on digit sequences, including carry propagation and h...
Minimum Common Pairwise Correlation Among Seven Identically Distributed Random Variables
Suppose $X_1, X_2, \ldots, X_7$ are seven random variables defined on the same probability space. Each has mean $0$ and variance $1$, and they are ide...
Implement and visualize in-place augmentations
Implement and visualize in-place augmentations Task: Build a Reproducible Augmentation Pipeline for Grayscale Digit Denoising Context You are training...
Debug MNIST denoiser training
Debug MNIST denoiser training Debugging a Colab Denoising Network on MNIST Goal: Make a Colab notebook that trains a denoising neural network on MNIST...
Build an end-to-end ML pipeline
Build an end-to-end ML pipeline ML System Design: Shipment Delay Risk Scoring From a Single CSV You are given a CSV of shipment events with the follow...
Trace and reduce redundant curl requests
Instrument and Optimize a Client's HTTP Requests for a Workflow You are pair-programming with the interviewer. You have a client (a script or applicat...
Remove Repeated Character Groups
You are given a string s and an integer k. Repeatedly remove any contiguous group of k identical characters. After a removal, the remaining parts of t...
Implement Social Graph Snapshot Queries
This question evaluates understanding of graph data structures, query-efficient indexing, and algorithmic trade-offs for static directed graphs, inclu...
Implement a React CRUD Table
Implement a React CRUD Table React CRUD Data Table — Build and Explain Context Design and implement a React application that renders a data table with...
Count Closed Islands
This question evaluates a candidate's understanding of grid-based connectivity and the ability to detect enclosed regions, testing skills in graph rep...
Write a quarterly SQL report and a bash max-file script
This question evaluates proficiency in SQL conditional aggregation and date-based grouping alongside shell scripting skills for recursive filesystem t...
Find a valid course order from prerequisites
This question evaluates understanding of graph algorithms, topological ordering, dependency resolution, and cycle detection within the Coding & Algori...
Design banking with scheduled transfers and merges
Design banking with scheduled transfers and merges In-Memory Banking System with Scheduled Payments and Account Merges Design and implement a single-t...
Analyze Profile Traffic Drop
This question evaluates a data scientist's competency in product-metrics analysis, instrumentation validation, segmentation and attribution, and causa...
Design a Connect-Four-like board game
Design an object-oriented model for a turn-based, grid-based “drop token” board game similar to Connect Four. Game rules (define these precisely in yo...
Explain CSS specificity and selector precedence
This question evaluates a candidate's understanding of CSS specificity and selector precedence, focusing on how the browser prioritizes competing styl...