Data Scientist Interview Questions
Practice 2,964 real Data Scientist interview questions for 2026. Data Scientist interview questions drawn from Meta, Capital One, Amazon, Google, TikTok and similar employers — real questions from actual interviews with detailed solutions — designed to accelerate your interview preparation for product analytics, ML and production data roles. This collection emphasizes the practical skills interviewers test: SQL and data manipulation, experiment design and A/B testing, statistical reasoning, Python coding for data problems, model evaluation and feature engineering, plus machine-learning system tradeoffs and metric design. What’s distinctive about modern data-science loops is the blend of product thinking and reproducible ML: expect hands-on SQL tasks and funnel analysis in screens, deeper experiment-design and causality questions in mid rounds, and coding or modeling challenges plus ML-system discussions in senior loops. Interviewers evaluate problem framing, statistical rigor, and how you communicate decisions to product partners. To prepare, prioritize daily SQL practice (CTEs, window functions), refresh hypothesis-testing and power calculations, rehearse concise metric-driven narratives, and build a few end-to-end model or experiment stories you can explain clearly under time pressure.

"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."
Implement Fibonacci with efficiency constraints
Write a function fib(n) that returns the nth Fibonacci number (0-indexed: fib(0)=0, fib(1)=1). Requirements: - Handle n up to at least 10^6. - Discuss...
How do you expand nested placeholders in strings?
You are given a dictionary of string templates. Keys are identifiers like X, Y, Z. A template may contain placeholders of the form %KEY%, which should...
Calculate Annual Profit of Credit Card Portfolio
Credit Card Portfolio Annual Profit You manage a portfolio of 500,000 active credit-card accounts. Each active card generates multiple revenue streams...
Describe Your Most Significant Professional Accomplishment
Behavioral Interview: Most Significant Professional Accomplishment In an onsite behavioral or leadership round for a Data Scientist role, the intervie...
Fake Accounts [AE]
Fake Accounts Analytical Exercise You are evaluating bad-account behavior on a social platform. Some accounts are bad, bad accounts send friend reques...
Diagnose Search Issues with Relevant Metrics and Solutions
Brand-Name Search: Diagnosing Relevance and Safety Issues Brand clients report that when users search for their own brand name, the platform surfaces ...
Calculate Incremental Customers for Marketing Spend Justification
Incremental Customers Needed for Marketing Spend You previously computed the per-customer annual profit for a new cardholder, excluding partnership ma...
Calculate Expected Users Linking Coinbase Wallets
Expected Coinbase Wallet Linking When users sign up for Coinbase, each of the n users is independently prompted to link a crypto wallet. Each user lin...
Solve Markov and distribution expectation problems
Solve Markov and distribution expectation problems Statistics, Linear Algebra, and Game Theory Fundamentals 1) Stationary Distribution of a Finite Mar...
Determine Success Metrics for Circle Feature Optimization
Determine Success Metrics for Circle Feature Optimization Scenario Meta is evaluating a new social feature called Circle (similar to Facebook Groups),...
Navigate Behavioral Rounds with Hiring Manager Successfully
Navigate Behavioral Rounds with Hiring Manager Successfully Behavioral & Leadership Questions — Data Scientist Phone Screen Context You are in a behav...
Convince Stakeholders: Prioritize Data Science Projects Effectively
Convince Stakeholders: Prioritize Data Science Projects Effectively Behavioral: Influencing Stakeholders and Prioritizing Work Context As a data scien...
Evaluate Python Class Design in Data Pipeline
Evaluate Python Class Design in Data Pipeline Scenario You are reviewing a Python class used in an ML/data pipeline that follows the scikit-learn-styl...
Highlight Netflix Culture Principle in Past Work Example
Behavioral Interview: Netflix Culture Fit and Project Walkthrough Problem Statement You are interviewing for a Data Scientist role at Netflix. This is...
Identify Growth Opportunities for New Payroll Feature Launch
Identify Growth Opportunities for New Payroll Feature Launch Case Study: Driving Adoption of a New Automated Tax‑Filing Feature Scenario You are a dat...
Solve Data-Structure Problems in Python Interview Round
Scenario Interview coding round focusing on simple data-structure problems in Python. Question Given an integer, rearrange its digits (considering onl...
Explain Your Experience and Interest in Tech Role
Explain Your Experience and Interest in Tech Role Scenario Initial HR screening call for a TikTok Data Scientist internship/full-time role. The recrui...
Describe Your Analytical Experience and Cross-Functional Collaboration.
Describe Your Analytical Experience and Cross-Functional Collaboration. Behavioral Interview: Translating Analytics into Business Impact (Gusto Data A...
Analyze Trends to Optimize Pirate-Theme Product Strategy
Analyze Trends to Optimize Pirate-Theme Product Strategy Scenario You have explored and summarized the performance of the "Pirate" theme for the Shopi...
Investigate Sudden Metric Changes and Design A/B Test
Investigate Sudden Metric Changes and Design A/B Test Scenario A core business metric (e.g., conversion, cancellations, or gross bookings) shows a sud...