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."
Compute ruin probability with bold betting
Probability of Reaching 5 Tokens Before Ruin Setup - You start with 3 tokens, target is 5 tokens, and ruin is 0. - On each turn, you bet as many token...
Design an online chess platform
Design an online chess platform. Requirements: - User matchmaking (ranked/unranked). - Real-time gameplay with low latency moves. - Enforce game rules...
Design A URL Shortener
This question evaluates skills in large-scale system design, covering distributed systems, API design, data modeling and storage, caching, short-code ...
Compute Turnstile Crossing Times
This question evaluates proficiency in queue simulation, event-driven scheduling, and handling priority and tie-breaking rules while achieving linear ...
Count Visits in One Minute
Design a system that can report the number of website visits in the most recent 1-minute sliding window. The website may receive high traffic, and the...
How to estimate feature impact on usage time
This question evaluates causal inference and observational analytics skills—specifically defining an estimand, designing primary, diagnostic, and guar...
Investigate Causes and Effects of Dynamic Pricing on ETAs
Investigate Causes and Effects of Dynamic Pricing on ETAs Lyft notices that ride wait times, or ETA, increased 20% month over month. The team suspects...
Implement a Rollback Key-Value Store
This question evaluates competency in designing data structures and state-management mechanisms, focusing on rollback/undo semantics, versioning, and ...
Implement comment sorting and nesting
You are given mock comment data on the frontend. Each comment has: - id: unique comment ID - userId: author ID - timestamp: creation time - content: c...
Explain GC, singleton, and OOP principles
Answer the following Java/software-engineering fundamentals questions: 1. How does Java garbage collection work at a high level (generational GC, mark...
Design experiment for ads in chat with budgets
This question evaluates a data scientist's skills in experimental design, causal inference, metrics selection, and handling allocation constraints for...
Count Digit-Reversal Equivalent Pairs
Define flipdigits(x) as the integer produced by reversing the decimal digits of non-negative integer x and removing leading zeroes from the reversed r...
Deep-dive a recent project
Project Deep-Dive (Technical Screen: Behavioral & Leadership) Context You will be asked to walk through a recent project you owned end-to-end. Assume ...
Design an image detection system
System Design: End-to-End Image Object-Detection Service Context Design a production-grade service that ingests user-uploaded images, runs object dete...
Walk through resume and impact
Behavioral Interview: Resume Walkthrough and Project Deep Dive You are in an onsite Software Engineer interview. Provide a concise, outcome-focused wa...
Implement paginated API ingestion
You are given a REST endpoint GET /orders?page=1&limit=100 that returns JSON objects of the form { "page": n, "per_page": m, "total_pages": T, "data":...
Design key management service
Design a Key Management Service (KMS) You are asked to design a production-grade, multi-tenant Key Management Service. A client provides a key identif...
Compute Conv2D parameter counts
Parameter Count for a 2D Convolution Layer You are given a standard 2D convolution layer with: - Input channels: C_in - Output channels: C_out - Kerne...
Design a RAG system end to end
Design a Retrieval‑Augmented Generation (RAG) System for Enterprise Text Context You are building a production RAG system that answers employee questi...
Implement a trie-based tokenizer
Design and Implement a Trie-Based Subword Tokenizer for LLM Pretraining Context You are building a subword tokenizer for a large-scale LLM pretraining...