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."
Debug and Fix Failing Unit Tests in Java
You receive a small Java project for a credit-card rewards service with three failing unit tests: calculatesTriplePointsForRestaurants, returnsUnknown...
Solve and optimize menu combo DP
Given up to N different menu items, each with a unit price, and a list of combo offers where each offer specifies quantities for some items and a tota...
Explain Go concurrency and database choices
Go Concurrency, Cross-Language Comparison, Database Trade-offs, and Storage Design Part A — Concurrency in Go 1. Explain synchronous vs asynchronous e...
Describe services you built and lessons learned
Behavioral: End-to-End Service Ownership (Onsite) You are interviewing for a Software Engineer role. Describe one production service you owned end-to-...
Design cron scheduler and reward/review system
System Design: Company-Wide Scheduler Platform and Employee Review & Rewards System You are designing two platforms for a fast-growing, multi-tenant t...
Design a risk management ticketing system
Design a Risk Management Ticketing System Context You are designing a ticketing platform used by human users (analysts, managers, admins) and an autom...
Design ride-hailing pricing with fairness and pooling
System Design: Ride-Hailing Pricing Engine Context Design a pricing engine for a ride-hailing platform that maximizes revenue while ensuring fairness ...
Design log queries and a buffered writer
Part A — Log store with time-range queries: Implement a data structure that ingests log entries with ISO-8601 timestamps (e.g., YYYY-MM-DD HH:MM:SS) a...
Design cloud storage with quotas and compression
System Design: Multi‑Tenant Cloud Storage Service (Take‑Home) You are tasked with designing a multi‑tenant cloud storage service that supports file up...
Prioritize consumer product opportunities
Case: Improve Engagement in a Consumer App with Flat MAU Context You are given a large consumer mobile app whose monthly active users (MAU) have been ...
Describe current work and relocation willingness
Behavioral Screen: Responsibilities, Project Deep Dive, and Relocation You are interviewing for a Software Engineer role in a behavioral/leadership HR...
Discuss feedback, AI work, learning, and motivation
Behavioral & Leadership Interview — Software Engineer (Onsite) Instructions Answer concisely with specific examples, your actions, and measurable outc...
Refactor rock–paper–scissors for config and ties
Refactor an existing Rock–Paper–Scissors tournament with three robot players so that the number of rounds is configurable and the system also tracks t...
Detect words formed by multiple dictionary parts
Given an array words of up to 100,000 non-empty lowercase strings (total characters ≤ 1,000, 000), return all strings that can be formed by concatenat...
Design a recommendation system
System Design: Large-Scale Home-Feed Recommendation System Problem Design a large-scale recommendation system for a consumer app's home feed. Describe...
Discuss Python mutability, copying, and GIL
In Python, explain the differences between mutable and immutable objects and illustrate how they affect function arguments and container behavior. Des...
Explain SLI/SLO/SLA and design monitoring
SLI vs SLO vs SLA for a Web API; Error Budgets; Monitoring and Alerting Design Context: You are designing reliability goals and on-call policies for a...
Count decodings of a numeric string
Given a string s of digits representing an encoded message where '1' maps to 'A', ..., '26' maps to 'Z', and '0' cannot appear alone (it must be part ...
Solve hierarchy distance and digit-square convergence
You have two independent tasks: A) Organization hierarchy distance Given a list of (employee, manager) pairs that form a complete hierarchy (a single ...
Design a basic task management system
Design a Simple Task Management Service Requirements Design a simple task management system that supports: 1. Add a new task with a unique ID and desc...