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."
Explain resume projects and behavioral responses
Behavioral Interview Prompt (STAR) Context: You are interviewing for a Software Engineer role in an onsite behavioral/leadership round. Using the STAR...
Explain Logistic Regression Fundamentals
Logistic Regression from First Principles Assumptions and Notation - Binary classification with labels y ∈ {0, 1} and features x ∈ R^d. - Linear score...
Determine task order with prerequisites
You are given n tasks labeled 0..n−1 and a list of prerequisite pairs (a, b) meaning task b must be completed before task a. Determine one valid order...
Analyze end-to-end request latency
Question Provide a detailed approach to analyze and improve the end-to-end latency of a web request. The request flows from a browser through a CDN, l...
Explain ML compilation optimizations and hardware fit
ML Compiler Optimizations and Platform Targeting Context You are designing a compiler/runtime stack for deep learning workloads that must run efficien...
Compute split-stay listing pairs
Given a set of Airbnb listings, each with availability represented as a sorted list of day integers, and a requested inclusive date range [S, E], comp...
Design account opening workflow
System Design: Online Bank Account Opening Workflow Context You are designing a high-scale online bank account opening workflow for web and mobile cli...

Implement Hook and Modify UI Interactions
Task: Implement a custom React hook and wire UI interactions Context You are working in a React app that already includes a basic API module and a sim...
Find longest common contiguous subarray
Given two integer arrays A and B, find the length of the longest contiguous subarray that appears in both arrays. If multiple exist, return any one pa...
Design real-time grid ETA for drivers
Real-Time Grid-ETA System Design You are tasked with designing a real-time system that maintains the remaining ETA for every driver currently located ...
Compare heap and stack memory
Compare heap and stack memory. Explain how each is allocated and freed, typical lifetimes of data stored there, access patterns and performance charac...
Design a streaming ads system
System Design: Ad-Insertion Platform for Live and On-Demand Video Context You are designing an end-to-end ad-insertion platform for a consumer video s...
Build models for housing and wind power prediction
Two-Part Machine Learning Take-Home Part 1 — Binary Classification: "Can Buy" vs "Cannot Buy" Given applicant and market data, design a binary classif...
Design unit tests for grid navigation
Mouse-Maze Controller: Design a Comprehensive Unit Test Suite Context (assumptions to make the task self-contained) Assume we are testing a controller...
Clone list with random pointers
Question You are given the head of a singly linked list where each node has two pointers: next and random. The random pointer may be null or point to ...
Print the K-th non-empty line
Given a large UTF-8 text file, write a program that prints the K-th non-empty line. Do not load the whole file into memory. Specify how you handle fil...
Evaluate IP Access Rules
You are given a list of IPv4 access-control rules. Each rule consists of: - an action: allow or deny - a CIDR block such as 192.168.0.0/16 You are als...
Find Banks From Identifier Mappings
Plaid receives institution metadata from multiple sources. You are given two mappings: 1. code_to_institution: a one-to-one mapping from a bank code t...
Compute CDF from a PDF Function
This question evaluates a candidate's skills in numerical integration, applied numerical methods, and probability/statistics by requiring construction...
Train with imbalanced sampled data
You are training a binary classifier on a very large dataset where the positive class is rare. Because the full dataset is too large to train on direc...