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 181–210 of 264 results
- OpenAIMediumData ScientistImplement NumPy neural-network layers
This question tests your ability to implement fundamental neural network components using NumPy, focusing on matrix operations, broadcasting, and numerical stability.
Machine LearningOnsiteNumPyNeural NetworksDeep Learning - OptiverMediumData ScientistExpected Wait for a Bus That Runs Late Half the Time
This question evaluates a candidate's understanding of probabilistic modeling and expectation calculations for stochastic arrival processes, touching on renewal-theory concepts and length-biased sampling phenomena relevant to timing and queuing problems.
Machine LearningTechnical Screen - OptiverHardData ScientistHow to rank statements by likelihood
This problem tests your ability to translate statistical distributions and categorical data into ranked probabilistic likelihoods, accounting for uncertainty and sample size variance.
Machine LearningOnline AssessmentProbabilityStatisticsBayesian Inference - OptiverHardData ScientistMarket-Making Estimation Game: Optimal Confidence-Interval Strategy Over 5 Rounds
This question evaluates probabilistic reasoning, decision-theoretic optimization of confidence intervals, and sequential risk–reward trade-offs by requiring interval estimation under a nonstandard scoring rule, relevant to a Data Scientist and categorized in Machine Learning/statistical decision theory.
Machine LearningTechnical Screen - OracleMediumData ScientistExplain Medical AI Data and Evaluation
This question tests the ability to design an end-to-end evaluation and data pipeline for a clinical conversational agent, emphasizing safety, bias mitigation, and rigorous validation in a high-stakes environment.
Machine LearningTechnical ScreenLLMRAGHealthcare AI - OtherMediumData ScientistDesign anomaly detection and handle imbalanced logistic regression
Design a fraud detection setup for 50M transactions at a 0.4% fraud rate: a supervised logistic regression model plus an unsupervised anomaly detector for new merchants with no labels. Cover time-based splits, delayed labels, imbalance, calibration, and a cost-based threshold where a missed fraud costs far more than a false alarm.
Machine LearningTechnical Screen - OtherHardData ScientistPredict job changes month by month
This question evaluates competency in discrete-time survival modeling and end-to-end predictive system design, encompassing feature engineering, label/hazard formulation, leakage prevention, model evaluation, fairness assessment, and experimentation for production machine learning.
Machine LearningOnsite - PayPalHardData ScientistBuild a real-time ATO model
This question assesses the ability to design an end-to-end, low-latency machine learning pipeline for detecting account takeover (ATO) in payment transactions, focusing on label noise, feature engineering, and system deployment constraints.
Machine LearningTechnical ScreenReal-time SystemsFraud DetectionFeature Engineering - PayPalHardData ScientistExplain unsupervised fraud and evaluation
Explain unsupervised fraud and evaluation evaluates core ML concepts, assumptions, math intuition, training/evaluation trade-offs, and practical failure modes in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Machine LearningOnsite - PayPalMediumData ScientistHow to validate production models?
This question assesses the end-to-end strategy for validating a production-ready machine learning model, focusing on rigorous testing frameworks, drift detection, and business-risk mitigation.
Machine LearningOnsiteModel ValidationProduction MLFraud Detection - PinterestHardData ScientistExplain your ML project end-to-end
This question evaluates a data scientist's end-to-end machine learning competencies, including problem framing and metric justification, data sourcing and labeling, model selection and calibration, class-imbalance handling, deployment and monitoring, experimentation design, and post-mortem analysis; it is in the Machine Learning domain and tests both conceptual understanding and practical application across modeling and MLOps. It is commonly asked to assess an interviewee's ability to justify trade-offs, reason about operational constraints such as latency, fairness and cost, design valid evaluation and A/B testing strategies, and define measurable monitoring and rollback criteria.
Machine LearningTechnical Screen - PinterestMediumData ScientistOptimize Hyper-parameter Search to Prevent Combinatorial Explosion
Evaluates Python grid-search generation and hyperparameter optimization strategy. Strong answers yield lazy Cartesian-product combinations and discuss random search, Bayesian optimization, pruning, early stopping, and budget limits.
Machine LearningOnsite - PinterestHardData ScientistVerify Machine-Learning Fundamentals for E-commerce Recommendation Platform
This interview question evaluates core ML concepts, assumptions, math intuition, training/evaluation trade-offs, and practical failure modes in a realistic interview setting. A strong answer for Verify Machine-Learning Fundamentals for E-commerce Recommendation Platform states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Machine LearningOnsite - Point72MediumData ScientistExplain How L1 and L2 Regularization Change Linear-Model Coefficients
This question tests the conceptual understanding of how L1 and L2 penalties influence the optimization objective and the resulting structure of the weight vector in a linear regression model.
Machine LearningOnsiteRegularizationLinear RegressionOptimization - Point72HardData ScientistExplain and tune decision trees robustly
The question evaluates a candidate's understanding of CART decision tree mechanics, split criteria and surrogate splits for missing values, hyperparameter tuning and pruning, overfitting diagnostics, preprocessing for large feature sets and high‑cardinality categoricals, and criteria for choosing ensemble methods within the Machine Learning domain.
Machine LearningOnline Assessment - Point72HardData ScientistHow would you explain PCA and SHAP?
A Point72 Data Scientist technical screen asking you to defend one end-to-end ML project: problem framing and label timing, leakage controls, time-based validation, feature engineering, hyperparameter tuning, dimensionality reduction with PCA, and model interpretability with SHAP. Expects the PCA optimization objective and SVD link, the Shapley principle behind SHAP, plot interpretation, and the pitfalls of each.
Machine LearningTechnical Screen - Quantbot TechnologiesHardData ScientistBuild a Data-Cleaning and Machine-Learning Pipeline Without Leakage
Design schema-aware cleaning, appropriate data splits, training-only fitted transformations, reusable inference state, and validation for missing or unseen inputs.
Machine LearningOnline Assessment - Quantbot TechnologiesHardData ScientistImplement GLM Training and Prediction from an Explicit Family and Link
Explain a from-scratch generalized linear model through family and link selection, consistent loss and gradients, numerical stability, and prediction semantics.
Machine LearningOnline Assessment - Qube Research & TechnologiesHardData ScientistImplement and Tune KNN Classifier
This question evaluates a candidate's competency in implementing and tuning the K-nearest neighbors algorithm, covering data preprocessing, distance-based classification, model evaluation, and hyperparameter selection.
Machine LearningOnline Assessment - RobloxHardData ScientistDesign leakage-free predictive maintenance pipeline
This question evaluates a data scientist's competency in designing time-series predictive maintenance pipelines, focusing on temporal feature engineering, leakage prevention and point-in-time joins, handling late-arriving labels, class imbalance and cost-sensitive thresholding, probabilistic calibration, explainability, and operational drift monitoring. It is commonly asked in the Machine Learning domain to assess an applicant's ability to produce an end-to-end, production-ready workflow that balances practical implementation concerns with conceptual system-design reasoning, so the task is primarily practical application with important conceptual elements.
Machine LearningOnline Assessment - RobloxHardData ScientistFit logistic regression and return top features
This question evaluates understanding of binary logistic regression, coefficient-based feature importance, and practical model-fitting considerations such as intercept inclusion and input shape handling.
Machine LearningOnline Assessment - RokuMediumData ScientistExplain and quantify bias-variance tradeoff
This question tests the conceptual understanding of the bias-variance decomposition of mean squared error and how specific modeling choices influence these components.
Machine LearningTechnical ScreenBias-VarianceModel EvaluationSupervised Learning - SnowflakeHardData ScientistDesign and validate a cost-sensitive classifier
This question evaluates competence in cost-sensitive binary classification, handling delayed and imbalanced labels, calibration and decision-threshold selection, distributional-drift detection, monitoring, and low-latency deployment within the Machine Learning / Data Science domain.
Machine LearningTechnical Screen - SquarepointHardData ScientistAnalyze expectations, correlations, and investment strategies
This problem tests your understanding of stochastic processes in finance, the linear algebraic requirements for covariance matrices, and optimal decision-making under uncertainty.
Machine LearningTechnical ScreenProbabilityLinear AlgebraStochastic Calculus - SquarepointMediumData ScientistExplain Linear Regression Assumptions, Evaluation, and Feature Addition
Explain least-squares regression, inference assumptions, evaluation metrics, and why added features affect training and test R-squared differently.
Machine LearningTechnical Screen - StripeHardData ScientistDesign a leak-free time-split model
This question evaluates a Data Scientist's competency in time-aware predictive modeling, including label leakage prevention for late-arriving events, temporal cross-validation, feature engineering, model selection (logistic regression vs gradient-boosted trees), calibration and thresholding for costed actions.
Machine LearningTechnical Screen - StripeHardData ScientistDesign a model for subscription adoption prediction
This question evaluates a candidate's ability to design and productionize a supervised machine-learning pipeline for predicting subscription adoption, testing competencies in labeling strategy, leakage identification and prevention, feature engineering from transactional and merchant metadata, model selection and calibration, evaluation with time-based validation, and post-deployment monitoring. It is commonly asked in the Machine Learning domain for Data Scientist roles because it assesses practical application and production-ready design along with conceptual understanding of time-based splits, class imbalance, performance metrics, and drift detection.
Machine LearningOnline Assessment - StripeHardData ScientistDesign a target‑user prediction system
This question evaluates skills in temporal label definition and leakage prevention, time‑bounded feature engineering (recency/frequency and content affinity), uplift and incremental effect estimation, model selection under class imbalance and budgeted outreach, offline metric design, calibration, fairness constraints, and production validation and monitoring. Common in Machine Learning/Data Science interviews, it is asked to gauge both conceptual understanding of causal and validation issues and practical application skills for deploying a ranked outreach model under capacity constraints, including appropriate cross‑validation and thresholding to map predictive scores to business outcomes.
Machine LearningTechnical Screen - The Trade DeskEasyData ScientistDesign a CVR model for RTB bidding
This Trade Desk data-science screen asks you to design an end-to-end conversion-rate (CVR) model for real-time bidding (RTB) at a DSP. It covers RTB system roles, label/attribution-window definition, bid-time feature engineering and leakage, logistic-regression vs LightGBM tradeoffs, log-loss training, class-imbalance handling with calibration, PR-AUC vs ROC-AUC evaluation, and latency-aware, safely-deployed production.
Machine LearningTechnical Screen - TikTokMediumData ScientistCompare Random Forests and Boosted Trees: Bias, Variance, Speed
Evaluates practical trade-offs between Random Forests and gradient-boosted trees for tabular ML. Strong answers compare bias, variance, speed, interpretability, overfitting, production fit, and feature scaling needs.
Machine LearningTechnical Screen