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."
Implement a high-throughput web crawler safely
Design and code (pseudocode acceptable) a multi-threaded web crawler that favors breadth-first discovery while continuously running analysis tasks on ...
Design a robust conversion propensity model
Daily Notification Propensity Model (Top-20% Targeting) Context You need to score users once per day with the probability they will make a purchase wi...
Compute P(third Ace | Ace in first two)
Conditional probability with cards drawn without replacement Problem You draw three cards without replacement from a standard 52‑card deck (4 Aces). G...
Decide if ad load is optimized
Pinterest Home Feed Ad Load Optimization You are asked to design an analysis and experiment to determine whether the current home-feed ad load (ads pe...
Infer and justify non-trivial sequence patterns
Pattern Recognition: Next Terms and Missing Value Identify the rule governing each sequence or row and compute the missing value(s). Justify each answ...
Compute partnership profit and break-even population
Co‑marketing Partnership Economics — 12‑Month Evaluation Setup - Issuer C1 earns 1% of a cardholder’s total card spending (interchange-like revenue). ...
Fix failing tests and refactor code
You're given a small Python repo. After creating and activating a clean virtual environment, installing requirements, and running "pytest -q", two tes...
Demonstrate leadership with concrete STAR examples
Behavioral & Leadership (Onsite) — STAR Examples With Metrics Provide succinct STAR-format examples (Situation, Task, Action, Result), with specific m...
Calculate valid daily usage with gap constraints
Write Standard SQL to compute, for a given date (use 2025-09-01), each user's total valid usage minutes. Schema and rules: Schema (timestamps are UTC)...
Diagnose and reverse an adoption-rate decline
Problem: Investigating a 7pp Drop in Google Meet Enterprise Adoption Rate Context Over the last 4 calendar weeks, enterprise adoption rate has fallen ...
Compare Tableau blending, joins, and filters
Tableau Integration Exercise: Joins vs Blends, Filters, and Order of Operations Data You have two sources. Primary (Orders) - Columns: OrderID, State,...
Implement a Constant-Time LRU Cache
Implement a Constant-Time LRU Cache Implement a fixed-capacity least-recently-used cache. The captured source identifies an LRU cache coding problem b...
Return the Most Frequent Values in an Array
Given a non-empty integer array, return the k values that appear most frequently. Ties are broken by smaller value first. Implement: `python def top_k...
Find Valid IP Addresses in Files
You are given an absolute or relative path to a directory on the local file system. Write a program that recursively traverses every subdirectory unde...
Design Podcast Recap Generation
Design a production system that generates short podcast recaps for newly published episodes. Assume the system should ingest episode audio and metadat...
Compare Unsupervised Clustering Methods
Explain several unsupervised clustering approaches and when you would use each one. At a minimum, compare centroid-based clustering, hierarchical clus...
Fix a Corrupted Bootloader Instruction
This question evaluates the ability to simulate instruction-level program execution, reason about control flow and mutable program state (instruction ...
Count Complete Tic-Tac-Toe Game Sequences
Count Complete Tic-Tac-Toe Game Sequences Two players play on a standard 3 x 3 board. X moves first and the players alternate. A game ends immediately...
Find a Maximum-Sum Window in a Sparse Array
Find a Maximum-Sum Window in a Sparse Array An integer array is represented by constant-value segments instead of individual elements. Each segment [s...
Product of Array Except Self Without Division
Product of Array Except Self Without Division Given an integer array, return an array in which output[i] is the product of every input element except ...