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."
Return the K Smallest Values from Sorted Arrays
Return the K Smallest Values from Sorted Arrays Problem Implement kSmallestFromSortedArrays(arrays, takeCount) -> values. Each inner array is sorted i...
Reason About Indexes, Kafka, and Database Locking
Reason About Indexes, Kafka, and Database Locking Answer the three backend fundamentals sections below. For each one, connect the mechanism to a concr...
Reason About C Pointer and Array Declarations
Explain the following C declarations and expressions. Assume int objects and ordinary pointer arithmetic. 1. Declare an array of pointers to int. 2. D...
Design a Calendar System
This question evaluates a candidate's ability to design a large-scale calendar backend, covering data modeling for events, recurrence, invitations, an...
Design a One-on-One Chat Service
This question evaluates the ability to design a scalable, real-time one-on-one messaging service, probing distributed systems concepts, data modeling,...
Reason About Endianness, Ring Buffers, and Stack Behavior in Firmware
Reason About Endianness, Ring Buffers, and Stack Behavior in Firmware You are reviewing low-level firmware that receives binary records, buffers them ...
Evaluate a Bike-Delivery Pilot with Marketplace Metrics
Evaluate a Bike-Delivery Pilot with Marketplace Metrics A delivery marketplace is considering a bike-based delivery option. Decide why the business mi...
Leadership and Project Deep-Dive Interview
Leadership and Project Deep-Dive Interview Prepare evidence-based responses to the leadership themes below and a deep dive on one recent project. Use ...
Design an Automated Jira-Ticket-to-PR System
This system design question evaluates expertise in distributed systems, asynchronous job processing, and queue-based architecture. It tests practical ...
Design a Book Price Aggregator
This question evaluates skills in distributed systems design, fault tolerance, scalability, integration with external services, transactional consiste...
Explain Transformer Internals and Implement Top-p Decoding
You are interviewing for an AI Scientist role. Explain the Transformer architecture in detail, including attention, positional encoding, encoder versu...
Design an LLM-Based Coding Assistant
This question evaluates a candidate's ability to design an end-to-end machine learning system, covering model architecture, training data pipelines, e...
Design a RAG Q&A Agent over Law Firm Legal Memos
This question evaluates a candidate's ability to design a retrieval-augmented generation system, covering ingestion, chunking, indexing, retrieval, an...
Design a Product Inventory and Pricing Service
Design a Product Inventory and Pricing Service Design a read-heavy service for an e-commerce platform. It must return product details, allow authorize...
Diagnose a Production Classifier and Defend Its Systems Design
Diagnose a Production Classifier and Defend Its Systems Design You own a binary classifier used by a downstream production service. The positive class...
Maintain Price Levels For A Single-Symbol Order Book
Review a single-symbol order book implementation prompt with insert, modify, cancel, and price-level lookup callbacks. The interview topic focuses on ...
Find Shared Motion Periods Across Camera Streams
Find Shared Motion Periods Across Camera Streams A camera emits readings (timestamp, intensity) sorted by strictly increasing timestamp. Intensity is ...
Implement Backprop for a Tiny Network
This question evaluates understanding of backpropagation, gradient derivation, numerical stability of softmax cross-entropy, and practical implementat...
Design a Video Generation Service with GPU Fleet Management
Design a Video Generation Service with GPU Fleet Management Design a service that accepts text or media prompts and asynchronously generates videos. F...
Design Extensible Undo and Redo for a Spreadsheet
Design Extensible Undo and Redo for a Spreadsheet A spreadsheet already supports editing one cell and needs undo and redo. Extend the design to row an...