Black Friday Sale: 20% off Premium yearly · $105.60 for the first year · until Monday, Nov 30Get it

Deep-ML
Learn
Problems1,200+ hands-on ML problemsLearning PathA guided route through the fundamentalsLabsInteractive labs on real techniquesProjectsBuild a GPT, an RL agent, CUDA kernelsCollectionsCurated problem sets and videosMathPen-and-paper math for MLIntuitionInvent the idea behind the formula yourselfPlaylistsYour own problem lists, shareableStudy AssistantAn AI teacher that knows your progress
Interview Prep
Compete
ContestsFresh problem sets, ranked liveLeaderboardWhere you stand, globallyBuddiesSolve with a friend: streaks, a weekly board, chat
Discuss
Deep-Path
Premium

      Data Science (General) Interview Prep

      How to prepare for Data Science (General) interviews

      Data Scientist interviews blend statistical and probabilistic reasoning, SQL/pandas data manipulation, machine-learning theory, and product-sense A/B testing, all wrapped in clear communication. This track maps each real question to hands-on Deep-ML practice or a focused concept drill so you can prep by round.

      Data Scientist interview questions

      Interview prep for a general Data Scientist role: stats, SQL, ML theory, experimentation, and storytelling.

      1. 1. Recruiter / Phone Screen & Behavioral20-45 min

        Background, motivation, and communication; a walk-through of a past project; and STAR-style behavioral questions on stakeholder communication, ambiguity, and influence. Light technical at the recruiter stage.

        • Walk me through a past data science project end-to-end, and explain why you chose your approach/model.
        • Tell me about a time you explained a complex technical result to a non-technical stakeholder.
        • Describe a time you dealt with an ambiguous or poorly-defined problem.
        Show 4 moreShow fewer
        • Tell me about a project that failed or did not go as planned, and what you learned.
        • How do you prioritize competing requests or multiple projects?
        • Tell me about a time you influenced a decision with data, or defended your findings to skeptical stakeholders.
        • Describe a time you worked with a cross-functional team (PMs, engineers).
      2. 2. SQL & Python Coding45-60 min (live) or take-home

        Live SQL (joins, GROUP BY, window functions, subqueries/CTEs, nth-highest, running totals, cohort queries) and analytics-flavored Python/pandas (filter/groupby/merge, missing-data handling, data cleaning, computing statistics in code).

        • Nth-Highest Salary with Ties and NULL
        • Top-3 Salaries Per Department
        • Delete Duplicate Emails Keeping One
        Show 26 moreShow fewer
        • Employees Earning More Than Their Managers
        • Rank Rows Within Partitions Using Window Functions
        • Month-over-Month Percentage Change with LAG
        • Running Total and Moving Average with Window Frames
        • Explain the difference between WHERE and HAVING, and how GROUP BY aggregations work.
        • Explain INNER vs LEFT JOIN and UNION vs UNION ALL; how would you explain a JOIN simply?
        • Filter, Group, and Aggregate a DataFrame (Top-10 by Metric)
        • Handle Missing Data in pandas (dropna/fillna)
        • Merge Multiple DataFrames
        • Values Appearing Three or More Times Consecutively
        • Days Warmer Than the Previous Day
        • Cohort Retention: First Login and Consecutive-Day Logins
        • Highest Total Daily Order Cost in a Date Range
        • Highest-Paid Workers with Title Join and Ties
        • Each Customer's Lowest-Priced Order
        • Top-N Most Profitable Companies with DENSE_RANK
        • Top-N Percent by Group with NTILE
        • Employees Earning Above Their Department Average (Correlated Subquery)
        • Explain .loc vs .iloc, and the difference between a NumPy array and a Python list.
        • Descriptive Statistics Calculator
        • Efficiently Find Duplicates in a Large Dataset
        • Generate Normal Samples and Compute Histogram Counts
        • Clean a Messy Dataset: Dedup, Standardize, Impute
        • Salary Difference Between Departments with Conditional Aggregation
        • Reshape Data with pivot_table and melt
        • Why is vectorization with pandas/NumPy faster than Python loops? When does it matter?
      3. 3. A/B Testing / Product / Case45-60 min

        Experiment design, metric definition, sample size/power, and product sense: diagnosing why a metric moved, measuring a feature's success, and reasoning about pitfalls (peeking, novelty effects, network effects, multiple testing, guardrails).

        • How would you design an A/B test for a new feature or homepage layout?
        • How do you determine the sample size and duration for an experiment (effect size, significance, power)?
        • A key metric dropped (e.g., DAU dropped 5%). How do you investigate?
        Show 12 moreShow fewer
        • How would you measure the success of a product or feature (define the success metrics)?
        • Explain the multiple-testing problem and corrections (e.g., Bonferroni); what is p-hacking?
        • How do you handle network effects / interference in a two-sided marketplace or social network experiment?
        • What is the novelty effect, and what is the problem with peeking (a PM wants to check results on day 3)?
        • What are guardrail metrics and why do you track them?
        • What do you do if an A/B test result is not statistically significant?
        • When should you NOT run an A/B test, and what alternatives would you use (e.g., quasi-experiments, causal inference)?
        • Two metrics conflict (engagement up but revenue flat, or one region up and another down). What do you do?
        • How would you quantify the influence of a user (e.g., a Twitter user)?
        • Diagnose a discrepancy across platforms or segments (e.g., iOS vs Android adoption differs).
        • How would you set up a test with many variations (e.g., 50 homepage designs)?
        • How would you price a product in a new market (e.g., a subscription's price by country)?
      4. 4. Statistics, Probability & ML Theory45-60 min

        Conceptual depth on statistics (p-values, CIs, CLT, Type I/II, power), probability (Bayes, distributions, brainteasers) and ML theory (bias-variance, regularization, cross-validation, evaluation metrics, common algorithms, model explanation).

        • What is a p-value? Explain it precisely (and why it is NOT the probability that the null hypothesis is true).
        • Explain the Central Limit Theorem and why it matters in practice.
        • What is a confidence interval? How do you interpret a 95% CI (and what does it NOT mean)?
        Show 43 moreShow fewer
        • Explain Type I vs Type II error and statistical power. What is worse depends on context - discuss.
        • State and apply Bayes' theorem (e.g., a disease test with given sensitivity/specificity, or fair vs unfair coin).
        • Birthday Problem Probability
        • Explain the bias-variance tradeoff.
        • What is overfitting, and how do you detect and prevent it?
        • Difference between supervised and unsupervised learning, with examples of each.
        • L1 (Lasso) vs L2 (Ridge) regularization - the difference, and when to use each.
        • Explain cross-validation, including k-fold and stratified k-fold.
        • Define precision, recall, and F1, and explain the precision-recall tradeoff.
        • ROC-AUC vs PR-AUC, and when is accuracy a misleading metric?
        • How do you handle imbalanced data (resampling, class weights, threshold moving, choice of metric)?
        • How do you handle missing data (deletion vs imputation; MCAR/MAR/MNAR)?
        • Describe feature-selection methods (filter, wrapper, embedded) and give examples of feature engineering.
        • How does a decision tree work, and how do random forests reduce overfitting?
        • Explain the difference between bagging and boosting (and how gradient boosting / XGBoost works).
        • Correlation vs causation - how would you establish causation when you cannot run an experiment?
        • Difference between the frequentist and Bayesian approaches to inference.
        • Compare Bernoulli, Binomial, Poisson, Normal, Uniform, and Geometric distributions; when does each arise?
        • What is the Law of Large Numbers and how is it used?
        • What is the expected value of a single dice roll? When should you choose to re-roll a die to maximize expected value?
        • Two children problem: given that one child is a boy (or girl), what is the probability both are the same sex?
        • Monty Hall problem: should you switch or stay, and why?
        • There is a fair coin and an unfair coin (both sides tails). You pick one, flip 5 times, and get 5 tails. What is the probability you picked the unfair coin?
        • How do you generate fair 50/50 odds from a biased coin (von Neumann trick)?
        • What is the expected number of coin flips to get two consecutive heads?
        • How many cards do you expect to draw from a shuffled deck before you see the first ace?
        • For a right-skewed distribution, which is larger, the mean or the median? Why?
        • What is selection/sampling bias, and how would you detect and correct for it?
        • What is the difference between a z-test and a t-test, and when do you use each?
        • What is the difference between probability and likelihood?
        • When and why do you scale features (normalization vs standardization)? Which models need it?
        • Explain logistic regression and its loss function (log loss).
        • What are the assumptions of linear regression, and how do you check them?
        • Explain k-means clustering and how you would evaluate cluster quality (e.g., silhouette score, elbow).
        • Explain PCA and when you would NOT use it.
        • Explain KNN and how the choice of k affects the bias-variance tradeoff.
        • How would you explain a model and its predictions to a non-technical stakeholder?
        • What is data leakage, how does it happen, and how do you prevent it?
        • Ten dice are rolled. What is the probability that the sum is divisible by 6?
        • Three ants sit on the corners of a triangle and each walks along an edge. What is the probability none collide?
        • What is skewness and how do you measure it?
        • What is Berkson's paradox / collider bias, and how can conditioning on a collider mislead you?
        • Explain the kernel trick in SVMs.

      Data Science (General): frequently asked questions

      What is the Data Scientist interview process?+

      A typical Data Scientist interview runs in 4 rounds: 1. Recruiter / Phone Screen & Behavioral (20-45 min); 2. SQL & Python Coding (45-60 min (live) or take-home); 3. A/B Testing / Product / Case (45-60 min); 4. Statistics, Probability & ML Theory (45-60 min).

      What happens in the Recruiter / Phone Screen & Behavioral round of a Data Scientist interview?+

      Background, motivation, and communication; a walk-through of a past project; and STAR-style behavioral questions on stakeholder communication, ambiguity, and influence. Light technical at the recruiter stage. Questions reported for this round include "Walk me through a past data science project end-to-end, and explain why you chose your approach/model" and "Tell me about a time you explained a complex technical result to a non-technical stakeholder".

      What happens in the SQL & Python Coding round of a Data Scientist interview?+

      Live SQL (joins, GROUP BY, window functions, subqueries/CTEs, nth-highest, running totals, cohort queries) and analytics-flavored Python/pandas (filter/groupby/merge, missing-data handling, data cleaning, computing statistics in code). Questions reported for this round include "Nth-Highest Salary with Ties and NULL" and "Top-3 Salaries Per Department".

      What happens in the A/B Testing / Product / Case round of a Data Scientist interview?+

      Experiment design, metric definition, sample size/power, and product sense: diagnosing why a metric moved, measuring a feature's success, and reasoning about pitfalls (peeking, novelty effects, network effects, multiple testing, guardrails). Questions reported for this round include "How would you design an A/B test for a new feature or homepage layout" and "How do you determine the sample size and duration for an experiment (effect size, significance, power)".

      What happens in the Statistics, Probability & ML Theory round of a Data Scientist interview?+

      Conceptual depth on statistics (p-values, CIs, CLT, Type I/II, power), probability (Bayes, distributions, brainteasers) and ML theory (bias-variance, regularization, cross-validation, evaluation metrics, common algorithms, model explanation). Questions reported for this round include "What is a p-value? Explain it precisely (and why it is NOT the probability that the null hypothesis is true)" and "Explain the Central Limit Theorem and why it matters in practice".

      What questions come up in Data Scientist interviews?+

      Commonly reported Data Scientist interview questions include "Walk me through a past data science project end-to-end, and explain why you chose your approach/model", "Tell me about a time you explained a complex technical result to a non-technical stakeholder" and "Describe a time you dealt with an ambiguous or poorly-defined problem". The Deep-ML track for this role has 97 questions and practice items, ordered by how often they come up.

      Deep-ML

      Learn and grow your knowledge about Machine Learning using Deep-ML

      Quick Links

      • Problems
      • Math
      • Intuition
      • Articles
      • Research
      • FAQ
      • Terms and Conditions
      • Submit Problem
      • Creator Program
      • Shop
      • Jobs
      • Deep-E-Mon

      Connect With Us

      © 2026 Deep-ML. All rights reserved.