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."
Find k pairs with smallest sums
You are given two sorted integer arrays arr1 and arr2 (each sorted in non-decreasing order), and an integer k. Consider all possible pairs formed by t...
Compute probability last passenger gets own seat
There are 100 passengers boarding a plane with 100 seats, numbered 1 to 100. Passenger i (for 1 ≤ i ≤ 100) has a ticket for seat i. The boarding proce...
Estimate one-child household probability
You survey 100 children at a school and ask how many children are in their family. The responses are: - 50 children say their family has 1 child. - 20...
Implement nested object path lookup
This question evaluates parsing and traversal of nested maps and arrays, robust error handling for missing keys and out-of-bounds indices, and reasoni...
Answer multi-round grid and data-structure questions
You are given several independent interview-style coding questions. 1) Find first/last occurrence in sorted array (+ dynamic updates follow-ups) Given...
Design an Instagram-like auction platform
This question evaluates expertise in large-scale system design, including distributed systems, data modeling, real-time messaging, consistency models,...
Solve Digit-Square and Grid BFS Problems
Solve the following coding problems. Problem 1: Digit-square convergence Given a positive integer n, repeatedly replace n with the sum of the squares ...
Simulate pouring water onto a 1D terrain
You are given a 1D terrain represented by an integer array heights, where heights[i] is the height of the column at index i. Part 1 — Render terrain W...
Design ride-hailing and price alert systems
During a system design interview, you are asked two related but separate design questions. Treat each as an independent end-to-end design; you will be...
Find shortest unique substring per word
This question evaluates string-processing and algorithmic problem-solving skills, focusing on identifying substrings unique to each word while handlin...
Find k-th largest element in array
You are given an unsorted array of integers nums and a positive integer k. Design an efficient algorithm to find the k-th largest element in the array...
Check if adding edge creates cycle in digraph
You work with a system that stores items and directed relationships between them (for example, item A points to item B). The relationships form a dire...
Implement bootstrap mean and variance
This question evaluates the ability to implement bootstrap resampling and compute descriptive statistics, testing competency in statistical estimation...
Detect Winners in Nested Tic-Tac-Toe
This question evaluates board-evaluation and pattern-detection skills, modular decomposition for reusable logic, and the ability to reason about time ...
Find shortest subarray with range ≥ k
Problem You are given an integer array nums of length n and an integer k. Define the range of a subarray as: \[ \max(\text{subarray}) - \min(\text{sub...
Compute maximum perimeter among islands
This question evaluates a candidate's proficiency with grid traversal, connected-component identification, and perimeter computation in binary matrice...
Design real-time delivery tracking with async updates
This question evaluates designing scalable, fault-tolerant real-time delivery tracking systems, focusing on asynchronous event processing, out-of-orde...
Implement Minesweeper click-to-reveal expansion
This question evaluates a candidate's ability to implement grid-based data structures, state management, and flood-fill style expansion logic for Mine...
Find shortest substring with N unique characters
You are given a string s and an integer n. Find the shortest contiguous substring of s that contains exactly n distinct characters. If there is no suc...
Find kth missing integer and redundant operations
You are given two independent coding tasks. Task 1: K-th missing number You are given an integer array nums (not necessarily sorted) containing distin...