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."
Write SQL for rankings, state, and aggregations
This question evaluates a candidate's competency in SQL data manipulation, covering ranking/top-N queries, aggregations and percentage calculations, t...
Implement a Web Crawler with BFS and DFS
Implement a simple web crawler in Python. You are given: - A starting URL. - A function get_links(url) -> list[str] that returns all outgoing links fr...
Design and decompose Trust & Safety risk metrics
This question evaluates a data scientist's competency in Trust & Safety metric design, including defining primary and diagnostic metrics, decomposing ...
Find possible robot positions
This question evaluates a candidate's ability to reason about grid traversal, boundary conditions, directional visibility counting, and constraint-bas...
Design a Recency-Eviction Cache
This question evaluates proficiency with data structures and algorithmic design for implementing a fixed-capacity key-value cache that enforces recenc...
Sort a Nearly Sorted Array
This question evaluates algorithm design and analysis skills, focusing on handling nearly-sorted arrays and reasoning about time and space complexity ...
Match logs to prior queries
Question You receive a stream of strings, each beginning with either "Q:" (query) or "L:" (log). A query consists of space-separated words and should ...
Show Behavioral Fit and Experience
Show Behavioral Fit and Experience Behavioral and Leadership HR Screen — Software Engineer (Netflix) Context: This is an HR screen focused on your bac...
Discuss challenging project examples
Discuss challenging project examples Behavioral and Leadership Interview Prompt — Software Engineer (Onsite) You will be assessed on problem-solving, ...
Show leadership and teamwork
Show leadership and teamwork Behavioral Leadership Question Context You are in an onsite software engineering behavioral and leadership interview. The...
Train LinearSVC to beat a hidden baseline
Train LinearSVC to beat a hidden baseline You are given a dataset and a fixed model class: LinearSVC. Implement train(X_train, y_train) and test(X_tes...
Design a basic credit card system
This question evaluates object-oriented design and domain modeling skills, including class responsibilities, relationships, state management, transact...
Describe failure, conflict, metrics, and AI lessons
The interview included several behavioral prompts with deep follow-up questions. Prepare clear STAR-style stories for the following: - Tell me about a...
Design Slack-like messaging platform
Design a Slack-like team collaboration product. Core features: - Workspaces (tenants), users, and channels (public/private) - Direct messages (1:1 and...
Generate Uniform Samples and Estimate Percentiles
Solve two Google statistics questions: sample uniformly from a square using rand01 and estimate percentiles from histogram buckets using cumulative co...
Identify members lacking specialty coverage
Identify members lacking specialty coverage Oscar wants to ensure that every insurance member has adequate access to in-network healthcare providers w...
Determine Whether a Word Exists in a Graph
This question evaluates proficiency in graph algorithms and backtracking techniques, including traversal strategies, cycle avoidance, and state manage...
Estimate impact without experiments and pick variant
Part A — Measuring impact when you cannot run an experiment You are a Staff Data Scientist working on a product change (feature/policy/model update). ...
Fermi Estimation with Confidence Intervals: How Many Houses Does One Year of US Netflix Spending Buy?
Estimate how many houses could be purchased with the total amount that people in the United States spend on Netflix subscriptions in one year. You sta...
Demonstrate ownership in a project deep dive
Demonstrate ownership in a project deep dive Behavioral prompt: Walk through a recent complex project Context You are interviewing for a software engi...