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."
Solve substring and top‑K pair problems
This multi-part question evaluates algorithm design and data-structure proficiency across string processing (minimum window substring), pair-selection...
Aggregate transactions by status and failure reasons (SQL)
You are given a table transactions with (at least) the following columns: - transaction_id (unique identifier) - status (e.g., SUCCESS, FAILED, PENDIN...
Design a game leaderboard service
This question evaluates a candidate's ability to design scalable, low-latency ranking services, testing competencies in distributed systems, data mode...
Build a least-recently-used cache
This question evaluates a candidate's competence in designing and implementing efficient in-memory cache mechanisms, focusing on data structures, evic...
Place Pieces on a Grid
Given integers n and m, and an ordered list figures where each element is one of "A", "B", "C", "D", or "E", construct an n x m integer matrix grid. T...
Maximize Unique Letters
This question evaluates proficiency in combinatorial optimization, bit manipulation, and state-compression techniques for selecting subsets under uniq...
Design an Instagram Stories feature
This question evaluates backend system design competencies including distributed systems, scalability, data modeling, API design, media storage/transc...
Merge two sorted arrays in-place
This question evaluates array-manipulation and in-place algorithm skills, including understanding of sorted-data merging, index/pointer management, an...
Design a cloud-based global property rental platform
This question evaluates skills in cloud-native system architecture, distributed systems design, scalability, security, data modeling, and operational ...
Walk through an A/B test end-to-end
Walk through how you would design, run, and analyze an A/B test for a product change. Your answer should include: - Hypothesis framing and choosing pr...
Answer core probability and inference questions
This question evaluates understanding of statistical inference and probability fundamentals, covering the Central Limit Theorem, p-values, Type I and ...
Explain core ML concepts and metrics
You are interviewing for a Data Scientist role. Answer the following ML fundamentals questions clearly and concisely. Concepts 1. Explain the bias–var...
Design an online real-time chess game
Design a real-time online chess service with WebSockets, matchmaking, server-authoritative game state and clocks, durable event storage, reconnect, sh...
Explain p-values and interpret regressions
Question This is a statistics rapid-fire onsite for a Data Scientist role. Answer each part clearly and precisely — first as if explaining to a Produc...
Implement RLE and bit-packing compression
You are asked to implement two related compression/decompression schemes: Run-Length Encoding (RLE) and bit-packing. --- Part 1 — Run-Length Encoding ...
Delete a Character From Cover
This question evaluates proficiency in string manipulation, interval arithmetic, and data-structure updates with attention to index mapping and edge-c...
Populate next pointers in a perfect binary tree
You are given a perfect binary tree (all leaves at the same level; every internal node has two children). Each node has fields left, right, and next. ...
Should you roll out if NSM decreases?
Scenario You ran an experiment. The north star metric (NSM) is profit per order. Observed results - Average order volume increased in treatment vs con...
Compute the Nth Recency Value
Given an integer n >= 1, define a sequence a as follows: - a[0] = 0 - For each i >= 1: - If a[i - 1] has appeared earlier in the sequence, meaning t...
Write SQL for TikTok Live creator metrics
You are analyzing TikTok Live sessions and their engagement. Tables live_room Each row is a Live session (“room”) launched by a creator. | column | ty...