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."
Analyze time complexity and threading trade-offs
Answer the following conceptual questions. 1) Worst-case time complexity State the worst-case time complexity (Big-O) for each operation and briefly j...
Design and evaluate a RAG system
You are interviewing for an L5 Data Scientist role focused on LLM applications. Design a retrieval-augmented generation (RAG) system for an internal q...
Answer common leadership prompts
Prepare strong STAR-style answers for the following behavioral prompts from the interview: - Describe an important project you delivered under a tight...
Maintain Entropy for a Streaming Distribution
A stream emits categorical observations one at a time. After each observation, report the empirical Shannon entropy of all observations seen so far: H...
C++ Fundamentals: const Pointers, and map vs unordered_map
C++ Fundamentals: const with Pointers, and map vs unordered_map You are in a C++ fundamentals screening round. After the coding question, the intervie...
Design a leak-free time-split model
Predict 30-Day Purchase Probability at a Snapshot (Technical Screen) Assume you have user, event, and order data with two timestamps per row: - event_...
Implement TF–IDF with sparse matrices
Implement TF–IDF from Scratch (Python + NumPy/SciPy) You are given a list of documents (plain strings). Implement a TF–IDF vectorizer from scratch — n...
Answer project deep dive and cross-functional questions
Behavioral / leadership round prompts You’re asked to cover some or all of the following: 1. Technical deep dive presentation - Prepare a short sli...
Answer ownership, conflict, and failure recovery questions
You are in a 45-minute hiring manager (behavioral) interview. Prepare structured answers to: 1. Ownership: Describe a project where you showed the mos...
Design a Twitter-like microblogging platform
This question evaluates expertise in large-scale system design, including feed generation and ranking, API and data model design, scalability and cons...
Design features for house price prediction
This question evaluates competence in feature engineering, data preprocessing, baseline regression modeling, and model evaluation for tabular price pr...
Design a Credit Scoring Platform
This question evaluates competency in designing large-scale ML-driven systems, including system architecture, data ingestion and processing, model sco...
Solve Nearby Inventory and Word Segmentation Tasks
Two Algorithmic Tasks Implement both parts. They are independent and should have separate functions. Part A - Nearby Centers with Inventory An undirec...
Explain Common Machine Learning Tradeoffs
The interview included a rapid-fire machine learning theory round. Be prepared to answer questions such as: - What are overfitting and underfitting? H...
Design product catalog service
Design product catalog service Design a product catalog service for a large e-commerce / grocery platform. The catalog must support a hierarchical cat...
Solve interval merge and string dedup problems
You are given three coding questions from a phone screen. Solve each independently. 1) Merge overlapping intervals Input: A list of intervals interval...
Design Testing Without A/B Experiments
Suppose a product team wants to evaluate a new feature that is intended to improve user engagement and long-term retention, but a clean randomized A/B...
Design CI/CD for AI Services
Design a CI/CD platform for a large AI product organization. The platform must support backend services, model-serving APIs, data and feature pipeline...
Choose Fast or Cheap Models
You are building an AI-powered product and must choose between two inference options for each request: - Option A: higher cost per token, but lower la...
Do US members upload more videos than non-US?
You suspect video posting adoption differs between US and international members. Tables members - memberid INT (PK) - country VARCHAR (e.g., 'usa', '...