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 1–29 of 29 results
- AtlassianMediumData ScientistMinimize max L1 radius with k centers in 1D
This question evaluates algorithmic problem-solving skills and understanding of clustering and optimization concepts, specifically the 1D k-center (minimax L1) problem, greedy feasibility tests, binary-search-on-answer techniques, numerical stability with large coordinates, and time/space complexity analysis relevant for a Data Scientist role.
Machine LearningOnline Assessment - Boston Consulting GroupMediumData ScientistAchieve 0.95 precision via thresholding
This question evaluates probabilistic classifier calibration, threshold selection to achieve a target precision, handling severe class imbalance, and precision–recall based evaluation metrics.
Machine LearningOnline Assessment - Boston Consulting GroupMediumData ScientistBuild a leak-free sklearn pipeline
This problem tests the ability to build a robust scikit-learn pipeline that prevents data leakage during preprocessing and hyperparameter tuning while handling class imbalance.
Machine LearningOnline Assessmentscikit-learndata-leakagepipelines - Boston Consulting GroupMediumData ScientistBuild and evaluate imbalanced binary classifier
This question evaluates a data scientist's skills in building reproducible machine learning pipelines for imbalanced binary classification, covering temporal splitting to avoid leakage, class imbalance handling, feature preprocessing, probability calibration, threshold selection, and monitoring for calibration drift.
Machine LearningOnline Assessment - Boston Consulting GroupHardData ScientistDetect Data Leakage in Supervised Learning Pipelines
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 Detect Data Leakage in Supervised Learning Pipelines states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Machine LearningOnline Assessment - Boston Consulting GroupMediumData ScientistImprove Model Generalization with Cross-Validation and Feature Engineering
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 Improve Model Generalization with Cross-Validation and Feature Engineering states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Machine LearningOnline Assessment - Boston Consulting GroupEasyData ScientistScale and Normalize: When to Use Each Method?
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 Scale and Normalize: When to Use Each Method? states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Machine LearningOnline Assessment - Boston Consulting GroupEasyData ScientistTrain GradientBoostingClassifier with 5-Fold Cross-Validation
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 Train GradientBoostingClassifier with 5-Fold Cross-Validation states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Machine LearningOnline Assessment - C3 AIMediumData ScientistChoose a Parameter to Reduce Underfitting in Gradient-Boosted Trees
Explain why decreasing minimum observations per leaf can reduce gradient-boosted tree underfitting and how to validate the change.
Machine LearningOnline Assessment - C3 AIMediumData ScientistCompare How Models Respond to Multicollinearity
Compare multicollinearity effects in regression, Lasso, logistic regression, decision trees, and boosted trees without overstating immunity.
Machine LearningOnline Assessment - C3 AIMediumData ScientistExplain the Margin View of Boosting Classification
Understand boosting classification through sequential learners, signed margins, surrogate losses, and the limits of training-margin claims.
Machine LearningOnline Assessment - C3 AIMediumData ScientistIdentify What Does Not Fix Vanishing Gradients
Explain why raising the learning rate does not fix vanishing gradients and compare skip connections, ReLU, and batch normalization.
Machine LearningOnline Assessment - CVS HealthMediumData ScientistBuild a leak-free sklearn churn pipeline
This question evaluates practical competencies in building a reproducible scikit-learn churn prediction pipeline—covering temporal splitting to avoid leakage, preprocessing, calibration, hyperparameter tuning, evaluation with ROC AUC/PR AUC and F1-based thresholds, and permutation feature importance—and is in the Machine Learning domain.
Machine LearningOnline Assessment - CVS HealthMediumData ScientistImplement R² and Compare PCA With/Without Scaling
This question evaluates a candidate's proficiency with regression evaluation metrics and linear-algebra-based dimensionality reduction, specifically implementing a numerically robust R² scorer and performing PCA with and without feature standardization using NumPy.
Machine LearningOnline Assessment - Capital OneMediumData ScientistResolve a Mismatch Between Regression and Classification Metrics
Tests your ability to diagnose modeling and metric mismatches in credit risk and fraud scenarios, design proper two-stage architectures, and select evaluation metrics aligned with business decisions.
Machine LearningOnline Assessmentmachine-learningmodel-evaluationregression - DatabricksMediumData ScientistExplain Linear Regression Feature Transformation Equivalence
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 Explain Linear Regression Feature Transformation Equivalence states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Machine LearningOnline Assessment - HBOHardData ScientistDefine scalable train/validation for churn
This question assesses the ability to design an end-to-end churn prediction pipeline, focusing on temporal integrity, handling class imbalance, and ensuring robust production deployment.
Machine LearningOnline AssessmentChurnSystem DesignData Leakage - HeadlandsMediumData ScientistWhat Cross-Validation Reduces: Bias, Variance, Type I or Type II Error
This question tests your conceptual understanding of how k-fold cross-validation affects the generalization error and how the choice of 'k' influences the trade-off between bias and variance in model performance estimation.
Machine LearningOnline AssessmentModel EvaluationCross-ValidationStatistics - Morgan StanleyMediumData ScientistAnswer basic probability and statistics questions
This problem tests your conceptual understanding of probability distributions, statistical bias in data collection, and the relationship between covariance and linear correlation.
Machine LearningOnline AssessmentStatisticsProbabilityBias - 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 - 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 - 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 - 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 - Two SigmaMediumData ScientistAnalyze Temperatures and Update Regression
This question evaluates proficiency in time-series and statistical analysis (defining volatility and similarity metrics), supervised regression modeling with mean squared error evaluation, greedy feature selection, and streaming/no-intercept linear regression updates.
Machine LearningOnline Assessment - Two SigmaMediumData ScientistPerform no-intercept linear regression from two datasets
This question evaluates linear regression modeling, numerical linear algebra (normal equations and stable factorization methods), regularization, R² interpretation, and data-preprocessing/validation skills within the Machine Learning domain for a Data Scientist role.
Machine LearningOnline Assessment