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."
Design Feed Ranking and HTML Generation
This question evaluates the ability to design end-to-end machine learning systems for personalized feed ranking and for natural-language-to-HTML gener...
Compute a Rolling Seven-Day Revenue Sum with Missing Dates
Solve a PostgreSQL rolling-revenue problem that needs a complete daily series per seller, including no-order dates. It assesses UTC date handling, gap...
Find patterns in numeric sequences quickly
Pattern-Finding Number Sequences (No Calculator) In a fast technical screen, identify the next term for each sequence and briefly explain the rule you...
Design a rate limiter
Design a rate limiting system for an API gateway. Your design should address: - Rate limits such as "N requests per second/minute" per key (e.g., per ...
Implement an LRU cache
Design and implement a data structure for a Least Recently Used (LRU) cache with a fixed capacity. The cache must support: - get(key): return the valu...
Implement ordering and undo executor
The interview included two coding tasks: 1. Dependency ordering: Given a set of tasks and their dependency relationships, return a valid execution ord...
Discuss productionizing event-timeout detector
Discuss productionizing event-timeout detector System Design: Production-Ready Event-Timeout Detector You are designing a production service that dete...
Design ads frequency capping service
Design an Ads Frequency Capping Service Context You are designing a service that ensures a user does not see the same ad creative or campaign more tha...
How do you compute expected return for two projects?
This question evaluates a candidate's ability to compute expected return and net present value by modeling probabilistic outcomes, cash flows, discoun...
Design account system with cashback
Design account system with cashback System Design: Account Management with Transfers, Payments, and Cashback You are to design and implement an in-mem...
Solve Markov, OLS-rotation, and coin-toss probability
Answer the following three interview questions. 1) Basic properties of a Markov (transition) matrix Let \(P\) be a transition matrix of a (time-homoge...
How would you analyze and test a price increase?
Case Study (Product / Data Science) You work on a subscription-based AI video editing/creation product and leadership is considering raising prices (e...
How would you design a Shop Ads ranking algorithm?
This question evaluates a candidate's understanding of machine learning-driven ad ranking, auction mechanics, multi-stakeholder objective formulation,...
Rewrite Sentence-Ending Punctuation
Rewrite Sentence-Ending Punctuation Transform a string in two conceptual steps: 1. Add one extra exclamation mark to every maximal run of existing ! c...
Scale Ingredient Quantities
Scale Ingredient Quantities Each ingredient is a string in the exact format "<quantity> <unit> <name>". Multiply every quantity by servings and return...
Interleave Three Equal-Length Strings
Interleave Three Equal-Length Strings Given three strings of equal length, build a result by taking the character at index 0 from each string, then th...
Walk Through an ML Project
This question evaluates end-to-end machine learning engineering competencies, including problem framing and impact, individual ownership, data and mod...
Design an internal interest-matching platform
Design an internal interest-matching platform System Design Prompt: Internal Employee Interest Matching Platform Context Design an internal-only platf...
Explain projects and handle AI-safety conflicts
Behavioral / Hiring Manager round 1. Walk through 1–2 key projects from your resume. - What was the goal and why did it matter? - What was your ...
Analyze the Accident-Rate Spike
A monthly line chart shows the accident rate for Uber trips in one city. The accident rate increases sharply from June through November, then drops qu...