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 dasher pay from order event logs
You are given a list of delivery-order event records for a single dasher. Each record contains: - order_id - event_type in {CREATED, ACCEPTED, PICKED_...
Choose optimal posted price under adverse selection
This question evaluates probabilistic reasoning, Bayesian updating, expected-value optimization under asymmetric information, and basic mechanism-desi...
Explain train-test generalization gap
This question evaluates understanding of model generalization and diagnostic competence within Machine Learning and Data Science, covering overfitting...
How do you decide with limited information?
Behavioral Question Describe a time you had to make an important decision with incomplete, ambiguous, or conflicting information. Include: - What deci...
Solve five hard algorithm problems
This set of problems evaluates algorithm design and problem-solving skills across array manipulation, range-update techniques, load-balancing and part...
Minimize Branch Merge Conflicts
You are given several feature branches that must all be merged into the main branch. Each branch contains a sequence of commits, and each commit modif...
Implement Memory-Efficient Document Undo/Redo
This question evaluates data structure design and algorithmic reasoning for implementing memory-efficient undo/redo semantics on a key-value document,...
Answer Staff-level leadership scenarios using STAR
Behavioral prompts (Staff/L6) Provide structured answers (e.g., STAR) for scenarios like: 1. Most important technical decision you drove: how you deci...
How to answer Staff (L6) behavioral interview questions
Staff / L6 “” org-level impact * * - Scope & Impact/// - StakeholdersEM/PM/Infra/Product/ Staff - Options & Trade-offs 2–3 - Influence without Aut...
Normalize features and rank logistic coefficients
You are given a binary classification training dataset: - X: a 2D array of shape (n_samples, n_features) containing numeric features. - feature_names:...
Compute DID estimate and pretrend flag
You are given three equal-length arrays describing observations from a panel-like dataset: - period[i] ∈ {0,1}: 0 = pre period, 1 = post period - trea...
Detect and evaluate "stolen" posts
You are a Data Scientist at a Twitter-like app. The platform suspects an increase in “stolen posts” (users reposting/plagiarizing others’ content with...
Answer senior behavioral questions
For a senior software engineering interview, prepare strong answers to the following leadership and impact questions: 1. Tell me about a time you infl...
Reconstruct a binary tree from traversals
This question evaluates understanding of binary tree traversal properties, data structure manipulation, and algorithmic complexity involved in reconst...
Design compressed vector and compute dot product
This question evaluates understanding of data structure design, sequence compression concepts (such as run-length patterns), and numeric algorithm eff...
Fit logistic regression and return top features
You are given: - X: a 2D numeric array where each row is a feature and each column is an observation (shape: n_features x n_samples). - feature_names:...
Explain factor leakage checks and IC/ICIR filtering
This question evaluates competency in factor-based predictive modeling, including detection of information leakage, use of information coefficient (IC...
Count Islands After Land Additions
This question evaluates understanding of dynamic connectivity, incremental graph updates, and algorithmic efficiency when maintaining connected compon...
Implement a Word Guessing Game
Implement a four-letter word guessing game. You are given: - A dictionary containing valid four-letter English words. - A target word selected from th...
Explain 3D geometry data
Explain 3D geometry data 3D Geometry Data: Representations, Preprocessing, Modeling, and Serving Prompt You are working with 3D geometry data in ML pi...