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."
Implement a Half-Open Interval Range Module
Implement a Half-Open Interval Range Module Implement a module that tracks subsets of the real-number line using half-open intervals [left, right). Pr...

Answer common project leadership questions
Prepare concise, structured answers for a behavioral interview covering these themes: - A project you are most proud of - Feedback you received and ho...
Design a Synchronized Live Comment Overlay
Design a Synchronized Live Comment Overlay Design a chat-like comment service whose messages appear as a live overlay synchronized to a video or event...
Assign Meetings and Find the Most-Used Room
Assign Meetings and Find the Most-Used Room There are n rooms numbered from 0 through n - 1 and meetings [start, end] with distinct start times. Proce...
Analyze Thirty-Day Ad Performance with SQL
Analyze Thirty-Day Ad Performance with SQL For this practice version, use the following neutral schema. clicked is a Boolean recorded on each impressi...
Sum palindrome-change costs over all substrings
This is a three-part coding screen. Each part is independent — a string-algorithms problem, a SQL aggregation problem, and a shell-parsing problem — a...
Design a follower push-notification system
Design a notification system for a social product: - When a user publishes a new post, the system should send push notifications to that user’s follow...
Train and analyze a classifier
You are given a labeled dataset for binary classification. Implement an end-to-end Python solution that trains a classifier and analyzes it to a produ...
Design a real-time home feed ranker
This question evaluates an engineer's ability to design scalable, low-latency real-time recommendation and ranking systems that integrate personalizat...
Design an In-Memory Spreadsheet Engine
This question tests a candidate's ability to design a dependency-tracking data structure with efficient cache invalidation, drawing on graph traversal...
Design an object-oriented parking lot system
Design an object-oriented model for a parking lot management system. Requirements: - The parking lot has multiple levels; each level has multiple park...
How to root-cause Wi‑Fi chip stops after 30 minutes
You are running automated tests on a Wi‑Fi chip. The chip transmits normally at the beginning, but after about 30 minutes it stops transmitting (no si...
Diagnose Transformer training and inference bugs
Debugging a Transformer That Intermittently Throws Shape/Dtype Errors and Fails to Converge You inherit a Transformer-based sequence model (decoder-on...
Design a scalable banking system
System Design: Online Banking Platform Context Design an online banking platform (scope similar to a credit-card application system) that supports: - ...
How do you conduct a code review exercise?
In a live interview, you are shown a short code change — a diff, a pull request, or a standalone function — and asked to produce written code review c...
Sealed-Bid Auction for a Box of 200 Coin Flips (and an Informed Opponent)
You are one of two bidders in a sealed-bid auction for a box. The box's payout is determined by flipping 200 fair coins: it pays \$1 for every coin th...
Reverse a Singly Linked List
This question evaluates a candidate's grasp of linked list pointer manipulation and in-place data structure transformation. It tests the ability to re...
Design in-memory trade subscription processor
You are asked to design and implement the internal logic of an in-memory trade subscription processor in C++. A simplified interface is provided: `cpp...
Design a RAG-Based Agent System
This question evaluates a candidate's competency in designing end-to-end Retrieval-Augmented Generation (RAG) systems and LLM-based agents, covering r...
Implement an Extensible Chatbot App
Implement a ChatApp class that processes user messages and routes them to bot responders. The system must support multiple bot types, and the design m...