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."
SQL Queries and Analysis on Bad Advertisers
Scenario You are on the analytics team at TikTok and need to analyze the presence of bad content in ads and identify problematic advertisers. Question...
How to experiment on ETA reduction
This question evaluates a data scientist's competence in causal inference, A/B test design, metric selection, and diagnosing observational confounding...
Can You Reach the Last Index?
This question evaluates a candidate's understanding of array traversal and reachability in sequences of jumps, along with the ability to reason about ...
Implement time-versioned KV store with restore
Design and implement an in-memory key–value store where every operation is associated with a timestamp (monotonically increasing integer). The store m...
Design experiments for payments, search, and promotions
This question evaluates a data scientist's skills in product experimentation, causal inference, metric selection, and marketplace impact analysis acro...
Derive the Long-Run Sex Ratio Under a Stopping Rule
Assume each child is independently equally likely to be a girl or a boy. Every family continues having children until its first boy, then stops. For a...
Implement anagram check and odd-even linked list
You are given two independent coding tasks. Task 1: Check if two strings are anagrams Implement a function that determines whether two given strings a...
Find high-value crypto users and top-CTR product
You are given three tables (timezone: UTC). Assume create_date, transaction_time, and event_time are timestamps. Tables users - user_id BIGINT PRIMARY...
Find final URL by crawling until “congrats”
You are given a starting HTTP URL. Implement a function that repeatedly calls URLs returned by previous responses until you reach a response that indi...
Compute minimum semesters to finish courses
This question evaluates graph theory and scheduling competencies, including dependency resolution, cycle detection in directed graphs, and capacity-co...
Solve sliding-window, flattening, decode, and O(1) random set
This multi-part question evaluates competence in string processing and nested parsing, linked-list flattening and recursion depth management, dynamic ...
Find Each Cell's Nearest Source
Given an m x n grid containing 1 for source cells and 0 for regular cells, compute for every cell the shortest 4-directional distance to any source ce...
Implement a Capacity-Bounded Cache
This question evaluates a candidate's ability to design and implement an efficient capacity-bounded in-memory key-value cache, assessing understanding...
Solve palindrome and missing-number variants
You are asked to solve two coding problems and analyze the time and space complexity of each. 1. Palindrome check Given a string s, determine whe...
Implement a multi-button click detector
Implement a click detector for multiple physical buttons. You receive button state updates as a stream. Each update provides: - button_id (integer) - ...
Minimize batches and allocate riders by time
This question set evaluates algorithmic problem-solving in scheduling and resource allocation, assessing understanding of batching under capacity and ...
Construct connected crop layout and safe paths
This question evaluates constructive grid design and graph-based pathfinding skills, specifically the ability to produce connected labeled regions tha...
Describe Your Most Complex Project
The behavioral rounds focused on two areas: 1. Describe the most complex project you have worked on. Expect deep follow-up questions about: - the busi...
Design an S3-like Object Store
This question evaluates system design and distributed storage architecture skills, focusing on scalability, durability, metadata versus data separatio...
Compute diff-in-diff and pretrend flag
This question evaluates understanding of difference-in-differences estimation, simple pretrend detection, and related data-processing competencies for...