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 place-of-interest ML system
Design place-of-interest ML system Design a POI (Places of Interest) Recommendation System Context Design a global POI recommender for a mobile maps/f...
Optimize algorithms and validate inputs
Optimize algorithms and validate inputs For a typical medium-difficulty coding task, walk through your approach: enumerate edge cases, justify your in...
Explain core ML fundamentals
Explain core ML fundamentals ML Fundamentals — Onsite Interview Task Context: Answer the following fundamentals as if in an onsite ML Engineer intervi...
Deep-dive your GenAI project architecture
Deep-dive your GenAI project architecture GenAI System Deep-Dive: End-to-End Design and Scale Strategy Provide a structured walkthrough of a productio...
Design an hourly weather crawling service
Scenario Design a service that crawls the U.S. National Weather Service (or a similar public provider) and provides hourly weather data to internal co...
Design a Netflix-like video platform
Scenario Design a Netflix-like platform that supports: - Search for videos (by title, tags, people, etc.) - Stream videos to web/mobile/TV clients - U...
Recommend top-K movies from similarity graph
Movie Recommendation: Top K You are building a simple movie recommendation feature. Input - A set of movies 0..(M-1). - An undirected similarity graph...
Detect recurring transactions from a ledger
You are given a list of credit/debit card transactions. Each transaction has: - transaction_date (YYYY-MM-DD) - merchant (string) - amount (decimal, p...
Implement plurality and majority voting
You are given an array votes of length n, where each element is a candidate identifier (string or integer). Implement two voting systems: 1) Plurality...
Find first non-repeating character index
You are given two separate coding tasks. Task 1: First Unique Character Given a string s (lowercase/ASCII letters), return the index of the first char...
Count friend requests based on age rules
Problem You are given an array ages, where ages[i] is the age of the i-th person. A person of age A will send a friend request to a person of age B if...
Answer leadership questions on tradeoffs and collaboration
Behavioral / Leadership Questions Answer using specific examples from your experience. 1. Project deep dive: Walk through a recent project end-to-end ...
Handle priority conflicts, setbacks, and initiatives
Behavioral Prompts Answer using a specific past experience (STAR format recommended). 1) Conflict on Priority - Tell me about a time when you and a st...
Tell about a past project and impact
Tell about a past project and impact Behavioral: Past Project Deep Dive You are in a Software Engineer onsite interview. Share a past project you led ...
Determine winner in optimal-play card game
Determine winner in optimal-play card game Given a row of N cards with integer values (values may be positive, zero, or negative), two players alterna...
Scale a key-value store with consistent hashing
Scale a key-value store with consistent hashing System Design: Scale a Key–Value Store with Consistent Hashing Context You have a single-server key–va...
Design a scalable key-value configuration service
Design a scalable key-value configuration service Design a Globally Distributed Key–Value Configuration Service Background You are asked to design a g...
Handle deadlines and misses
Handle deadlines and misses This is a two-part behavioral question. Answer both parts: 1. Tight deadline. Describe a time you faced a tight deadline. ...
Find lexicographically smallest string and elimination order
You remember two coding questions from an online assessment. Question 1: Return the lexicographically smallest string after a prefix/suffix reverse Yo...
Diagnose rising cold-food complaints and choose metrics
This question evaluates a data scientist's diagnostic analytics skills, including hypothesis generation, causal inference, metric engineering, and A/B...