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."
Compute DiD and validate parallel trends
You are given observational/experiment-like panel data as three equal-length arrays: - period[i]: an integer time period label for observation i (e.g....
Compute sample size and Bayes posterior
You are implementing two small statistical utilities. Part A — Power / sample size (two-sample z-test) - Input: - x: a 1D numeric array of historica...
Implement Distributed Matrix Multiplication
This question evaluates distributed systems and parallel algorithm skills, specifically distributed matrix multiplication, data partitioning (row- and...
Implement K-Means and compare with GMM
Implement K-Means clustering from scratch for a dataset X of shape (n_samples, n_features) and a target number of clusters k. Your implementation shou...
Explain your biggest project with trade-offs
Behavioral interview (Amazon-style). 1) Pick the biggest/most impactful project you worked on. Explain the problem, your role, the technical design, a...
Describe communication to resolve ambiguity
Describe communication to resolve ambiguity Behavioral: Proactive Communication to Improve Outcomes Context: In a technical screen for a Machine Learn...
Add One to Digit Array
This question evaluates proficiency in array manipulation and elementary arithmetic on digit sequences, specifically carrying operations and edge-case...
Implement Datacenter Router Commands
This question evaluates proficiency in stateful command processing, input validation, geospatial computation (Haversine distance), deterministic sorti...
Merge two N-ary trees by key rules
You are given two N-ary trees A and B. Each node has: - key (string): unique among siblings (i.e., within a node’s children list, no two children shar...
Design a High-Card Game with a Persistent Tie Pot
Design a High-Card Game with a Persistent Tie Pot Model and implement a card game. A shuffled deck is split evenly among two players. In each round, e...
Design Top K ranking system
Design Top K ranking system System Design: Real-time Top-K from a Large/Streaming Dataset Context You receive a continuous, high-volume stream of even...
Explain career goals and cultural alignment
Explain career goals and cultural alignment Behavioral: Long‑Term Goals and Mission Alignment (Software Engineer, Onsite) Prompt You are interviewing ...
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...
Compute Markov steady state and expectations
Compute Markov steady state and expectations Probability and Game Theory: Three Sub-questions Context: The exact transition matrix P (for Q1) and the ...
Design a marketplace price tracking service
Design a large-scale product price tracking service similar to an e-commerce price monitor. Users can submit product links from a major online marketp...
Solve Morse and Network Access Tasks
Solve the following two independent coding problems. Problem 1: Convert Between Text and Morse Code You are given the standard Morse-code mapping for ...
Estimate VRAM and compare model parallelism
This question evaluates understanding of GPU memory budgeting for large matrix multiplications and the comparative trade-offs between pipeline and ten...
Design airplane seatback entertainment with UI focus
Design airplane seatback entertainment with UI focus Design an In‑Seat Personal Entertainment System (IFE) — UI/Interaction-Focused System Design Cont...
Explain algorithm strategies and complexity
Explain algorithm strategies and complexity You are faced with a complex, potentially ambiguous coding problem. Describe how you would clarify require...
Describe how you use Kubernetes
Describe how you use Kubernetes System Design: Practical Kubernetes (K8s) Use and Operations Context: In a technical screen, you are asked to describe...