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."
Describe past research and interests
Behavioral Prompt: Research Experience, Methods, Impact, and Roadmap Alignment Context You are interviewing for a Machine Learning Engineer role in a ...
Describe times exceeding and missing expectations
Behavioral Prompt: Exceeding and Falling Below Expectations Context You are interviewing for a Software Engineer role in a technical screen focused on...
Find minimal property set in neighborhood
You are given a list of properties, each Property(id: int, neighborhood: string, capacity: int). Given a targetNeighborhood (string) and groupSize (in...
Count non-decreasing arrays by digit sums
You are given an array required_sums of length n. Count how many non-decreasing arrays result[1..n] of integers satisfy all of the following: ( 1) for...
Implement sorting and set intersection with input parsing
Write two functions and explain your approach in under two minutes after coding: (A) Sorting: Implement sort_numbers(nums: List[int]) -> List[int] tha...
Maintain k-th largest in a stream
Design and implement a class KthLargest that, given an integer k and an initial list of integers, supports: ( 1) KthLargest(k, nums): constructor; ( 2...
Demonstrate ownership and deliver results
Behavioral Question: Ownership and Delivering Results Under Constraints Context: You are interviewing for a software engineering role. Use concise, sp...
Compute minimal flips connecting two islands
Given an n x n binary grid of 0s (water) and 1s (land) containing exactly two disjoint islands (cells with 1 connected 4-directionally), return the mi...
Discuss feedback, help, and conflict
Behavioral and Leadership Questions (Software Engineer — Technical Screen) Answer each prompt concisely (about 60–90 seconds) using a structured frame...
Scale the cache to a distributed system
Design: Scale a Single-Node LRU Cache to a Distributed Cache Assume you are upgrading a single-node, in-memory LRU cache to a distributed cache to sup...
Discuss compensation expectations and level
HR Screen: Compensation Expectations for a Senior Machine Learning Engineer Context: In an initial HR screen for a senior-level Machine Learning Engin...
Design an in-memory file system with limits
Design and implement an in-memory hierarchical file system. Requirements: 1) addFile(String path): Given an absolute path like "path/to/somewhere/file...
Implement pagination and a time-versioned key-value store
Implement two coding tasks: 1) Transaction pagination: Given an in-memory collection of transaction records with fields (txn_id: string, user_id: stri...
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...
Decide on competitive comparison policy
Comparative Benchmarking Blog Post: Go/No-Go and Ethical Positioning You are a software engineer asked whether the company should publish a blog post ...
Define developer-centric usability metrics
Usability and Product Metrics Beyond Latency and Accuracy Context: In a technical screen focused on analytics and experimentation, propose how you wou...
Compute delivery wait times
You're building a last‑mile delivery simulator. Given n orders, each with arrival_time (non-decreasing integers) and service_time (positive integers),...
Compare GCP vs AWS and testing strategy
Public Cloud Building Blocks, Compute Choice, and Testing Strategy Context Assume you are designing a new stateless HTTP microservice that exposes RES...
Design a GPU inference API
System Design: GPU-Backed Inference Platform and API You are designing a production inference platform to serve deep learning models (vision, ranking,...
Design top-K frequency structure
Design an in-memory data structure that supports: add(x) to observe an item, inc(x) to increment its frequency, dec(x) to decrement (deleting when zer...