Katkat

practice a little every day, paws crossed ♡

Data Scientist Interview Questions

Practice 9403 coding, system design and machine learning questions from 546 companies, sorted by role, topic and interview round. Every question has step-by-step hints, a code runner that supports 8 languages and an AI mentor; members also get the full solution walkthrough.

9403
Questions
546
Companies
11
Topics
8
Languages

Showing 781–810 of 1971 results

  • GoogleHardData Scientist
    Experimentally evaluate jogging-route recommendations

    This question evaluates competency in experimental design, metric selection and definition, statistical power/MDE calculation, contamination prevention, and operational monitoring for route recommendation features, targeted at Analytics & Experimentation for a Data Scientist role.

    Analytics & ExperimentationTechnical Screen
  • GoogleHardData Scientist
    Explain Bootstrap and Prove Uniformity

    This question tests the conceptual understanding of bootstrap resampling for variance estimation and the mathematical proof of probability distributions using the properties of the Uniform distribution.

    Statistics & MathTechnical ScreenStatisticsProbabilityBootstrap
  • GoogleHardData Scientist
    Explain Bootstrap and Statistical Inference

    This problem tests your understanding of bootstrap resampling theory, confidence interval construction, and the statistical trade-offs involved in hypothesis testing for small-sample experiments.

    Statistics & MathTechnical ScreenBootstrapHypothesis TestingMLE
  • GoogleMediumData Scientist
    Explain P-values and Confidence Intervals in Simple Linear Regression

    Review p-values, confidence intervals and slope inference in simple linear regression, including assumptions and causal limits.

    Statistics & MathOnsite
  • GoogleMediumData Scientist
    Explain Simpson’s Paradox and Its Causes with Example

    Evaluates Simpson's paradox through definition, confounding, subgroup imbalance, and a numeric reversal example. Strong answers compare stratified and aggregate rates and explain when each comparison matters.

    Statistics & MathTechnical Screen
  • GoogleHardData Scientist
    Explain a favorite model end-to-end

    This question evaluates a candidate's end-to-end machine learning competencies, including problem framing, objective and loss selection, inductive biases, feature engineering, validation strategies, training and regularization practices, production issues, monitoring, and fairness/privacy considerations.

    Machine LearningOnsite
  • GoogleMediumData Scientist
    Explain and resolve Simpson’s paradox

    This question evaluates understanding of Simpson's paradox, confounding, and causal reasoning, checking numerical interpretation of subgroup versus aggregate statistics and the ability to recognize when aggregated averages can mislead.

    Statistics & MathTechnical Screen
  • GoogleMediumData Scientist
    Explain linear regression to non‑technical stakeholders

    This question assesses the ability to communicate complex statistical models to non-technical stakeholders, focusing on clarity, intuition, and identifying limitations.

    Machine LearningTechnical ScreenCommunicationLinear RegressionStatistics
  • GoogleEasyData Scientist
    Explain mixed models and fixed vs random effects

    This question evaluates understanding of mixed effects models, the conceptual distinction between fixed and random effects, interpretation of coefficients and variance components, and awareness of practical pitfalls when modeling hierarchical or panel data.

    Statistics & MathOnsite
  • GoogleMediumData Scientist
    Generate Samples from Truncated Normal Distribution

    Evaluates truncated normal distribution fundamentals and sampling methods for lower-tail truncation. Strong answers name the lower-truncated normal, provide the PDF and CDF, and compare inverse-CDF, rejection, and tail-efficient samplers.

    Statistics & MathTechnical Screen
  • GoogleMediumData Scientist
    Generate Uniform Samples and Estimate Percentiles

    This problem tests the ability to generate uniform spatial samples using standard random functions and the mathematical application of linear interpolation for percentile estimation from binned data.

    Statistics & MathTechnical ScreenProbabilityStatisticsInterpolation
  • GoogleMediumData Scientist
    How would you use propensity score matching here

    Evaluates proficiency with propensity score matching and broader causal inference concepts for observational treatment effect estimation, including identification assumptions, propensity score estimation and covariate selection, matching algorithms and common support, balance diagnostics, choice of estimand (ATE vs ATT) and uncertainty quantification, plus sensitivity checks and alternative methods. Common in Analytics & Experimentation interviews for Data Scientist roles because it probes understanding of confounding and identification in nonrandomized settings and requires intermediate-to-advanced applied statistics reasoning about methodological trade-offs.

    Analytics & ExperimentationOnsite
  • GoogleMediumData Scientist
    Identify and Fix Predictive Model Performance Gaps

    Evaluates predictive-model audit skills across month encoding, feature scaling, and imbalanced classification. Strong answers fix cyclical seasonality, standardize where needed, and adjust losses or thresholds for recall.

    Machine LearningTechnical Screen
  • GoogleMediumData Scientist
    Implement Sampling and Minimize Loss in Numerical Coding

    This question evaluates proficiency in probability and numerical methods, focusing on sampling from truncated distributions and analytical properties of estimators under various loss functions.

    Coding & AlgorithmsTechnical Screen
  • GoogleMediumData Scientist
    Implement anagram check and stable deduplication

    This question evaluates streaming algorithm design, Unicode normalization and locale-aware text processing, multiset frequency counting under tight time and memory bounds for an anagram checker, and stable, order-preserving deduplication with custom keys and NaN handling; it is in the Coding & Algorithms domain for a Data Scientist position.

    Coding & AlgorithmsTechnical Screen
  • GoogleMediumData Scientist
    Implement longest subarray summing to k

    This question evaluates proficiency in array algorithms, prefix-sum reasoning, hash-based lookup patterns, and careful handling of edge cases and deterministic tie-breaking.

    Coding & AlgorithmsOnsite
  • GoogleMediumData Scientist
    Implement percentage RMSE and bootstrap its CI

    This question evaluates implementation and statistical reasoning skills, focusing on robust numerical computation of percentage RMSE (including handling zeros/negatives, optional country weights, and numerical stability) and nonparametric bootstrap methods for confidence intervals.

    Coding & AlgorithmsTechnical Screen
  • GoogleMediumData Scientist
    Implement piecewise linear interpolation for time-to-empty

    This question evaluates numerical interpolation, time-series data cleaning, monotonicity preservation, extrapolation, and numerical stability skills applied to battery discharge curves, and falls under coding and algorithms within a data science domain.

    Coding & AlgorithmsTechnical Screen
  • GoogleMediumData Scientist
    Implement sampling and subarray scan

    This question evaluates probabilistic sampling and random-number transformation concepts for generating uniform points in a continuous domain, alongside array-processing and algorithmic analysis skills for identifying the longest strictly increasing contiguous subarray.

    Coding & AlgorithmsTechnical Screen
  • GoogleEasyData Scientist
    Implement sampling, subarray scan, and percentile estimate

    This problem tests your ability to generate random uniform points within a geometric shape, process contiguous array properties using linear scans, and perform linear interpolation on histogram data to approximate percentiles.

    Coding & AlgorithmsTechnical ScreenGeometryAlgorithmsStatistics
  • GoogleMediumData Scientist
    Infer distribution and choose robust statistics

    This problem tests the ability to diagnose non-normal data distributions (specifically zero-inflated, heavy-tailed data) and select appropriate statistical metrics for hypothesis testing.

    Statistics & MathTechnical ScreenStatisticsData DistributionsHypothesis Testing
  • GoogleMediumData Scientist
    Interpreting a Dosage-Recovery Regression: P-values, CIs, Causality

    Given a fitted dosage-vs-recovery-time regression, explain exactly what the reported p-value and confidence interval mean, what assumptions back that inference, how a confidence interval differs from a prediction interval, and why the result alone cannot establish causality. Tests statistical precision under pressure.

    Statistics & MathOnsitestatisticslinear-regressionhypothesis-testing
  • GoogleMediumData Scientist
    Match payments to invoices by memo or amount

    This problem tests string parsing, hash-map based data indexing, and multi-criteria reconciliation logic (fuzzy matching via IDs vs. exact matching via amount).

    Coding & AlgorithmsTechnical ScreenHashingStringsData Reconciliation
  • GoogleMediumData Scientist
    Measure Bird Species Segregation

    This question evaluates spatial statistical reasoning, ecological data analysis, and the ability to formulate hypotheses, choose appropriate segregation metrics, and account for confounders and sampling bias.

    Statistics & MathTechnical Screen
  • GoogleHardData Scientist
    Measure outage impact; choose fix vs build

    This question evaluates instrumentation design, telemetry analysis, causal impact estimation, failure deduplication, and decision-making under uncertainty for a Data Scientist, testing competencies in analytics, experimentation, and product-metric prioritization.

    Analytics & ExperimentationTechnical Screen
  • GoogleMediumData Scientist
    Minimize L2, L1, and quantile losses

    This question evaluates understanding of statistical estimators and optimization principles for L2, L1, and tilted absolute (quantile) loss functions, including use of derivatives and subgradients, order-statistics, algorithmic complexity, and robustness considerations.

    Coding & AlgorithmsTechnical Screen
  • GoogleHardData Scientist
    Model Soccer Shot Conversion

    This problem tests the ability to design an end-to-end predictive model for sports events, focusing on feature engineering, handling spatial data sparsity, and evaluating probabilistic outputs.

    Machine LearningTechnical ScreenLogistic RegressionModel CalibrationFeature Engineering
  • GoogleMediumData Scientist
    Narrow a confidence interval for a mean

    This question evaluates understanding of confidence intervals, the relationship between sample size and interval width, variance-reduction techniques, the impact of changing confidence levels, and the ability to communicate statistical risk and design-based trade-offs.

    Statistics & MathTechnical Screen
  • GoogleMediumData Scientist
    Normalize Columns in Binomial Matrix Efficiently

    This question evaluates proficiency in matrix manipulation, handling of binomial random samples, column normalization, and algorithmic efficiency for processing large numerical arrays.

    Coding & AlgorithmsTechnical Screen
  • GoogleHardData Scientist
    Predict and act on contract renewal risk

    This question evaluates competency in applied machine learning for enterprise churn prediction, testing skills in problem framing, feature engineering, model selection, data hygiene, evaluation metrics, and decisioning within the Machine Learning domain.

    Machine LearningTechnical Screen