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 31–60 of 264 results
- AppleMediumData ScientistConstruct a Churn-Prediction Pipeline Using Scikit-Learn
This question tests practical machine learning engineering skills, specifically the ability to construct an end-to-end classification pipeline for imbalanced tabular data. It evaluates knowledge of preprocessing, model validation, probability calibration, and production packaging — core competencies assessed in data scientist interviews.
Machine LearningTechnical Screen - AppleMediumData ScientistDesign Siri-vs-GPT query routing
This question evaluates a data scientist's competency in designing an end-to-end query-routing system between an on-device personal assistant and a large language model assistant, encompassing objectives, success metrics, ground-truth labeling, feature and model choices, ambiguity and multi-turn handling, and evaluation strategies.
Machine LearningTechnical Screen - AppleMediumData ScientistExplain CNN shapes, params, and trade-offs
This question tests your ability to calculate output dimensions, parameter counts, and computational costs (FLOPs/MACs) in CNNs, while requiring you to justify architectural choices like depthwise convolutions and normalization layers.
Machine LearningOnsiteCNNDeep LearningModel Architecture - AppleHardData ScientistImplement random forest with OOB and imbalance
This question evaluates expertise in implementing and engineering a memory- and compute-efficient Random Forest for binary classification, covering ensemble methods, CART/Gini impurity, OOB evaluation and calibration, class-imbalance handling, reproducibility, parallel and thread-safe system design, and streaming/warm-start model updates.
Machine LearningOnsite - 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 - AtlassianMediumData ScientistTrain and evaluate logistic model with regularization
This question evaluates proficiency in supervised binary classification with logistic regression, implementation of L1 and L2 regularization, data preprocessing (missingness checks and standardization), hyperparameter selection via cross-validation, and model evaluation using ROC AUC and threshold-dependent metrics.
Machine LearningTechnical Screen - Bank of AmericaMediumData ScientistExplain core probability and ML statistics concepts
This question evaluates core probability and machine learning statistics competencies including probability basics, descriptive statistics, correlation versus independence, linear regression and regularization, and dimensionality reduction (PCA), falling under the Machine Learning domain for Data Scientist roles and testing both conceptual understanding and practical application. Such multi-part theory questions are commonly asked to probe understanding of fundamental statistical concepts and modeling assumptions, ensuring the candidate can reason about uncertainty, estimator properties, multicollinearity, and eigenstructure without relying solely on implementation details.
Machine LearningTechnical Screen - BnpEasyData ScientistWhat are linear regression assumptions?
Assesses understanding of the assumptions underlying ordinary least squares linear regression and the application of diagnostic methods to ensure unbiased parameter estimates and valid statistical inference.
Machine LearningTechnical Screen - 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 GroupMediumData ScientistDesign and sample for credit default prediction
This question evaluates a data scientist's competencies in imbalanced binary classification, temporal label definition and leakage detection, sampling and calibration under prior-probability shift, metric and operating-point selection, cost-sensitive decision rules, time-based validation and monitoring, and fairness and operational guardrails.
Machine LearningTechnical Screen - 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 GroupHardData ScientistReduce overfitting under constraints
This question evaluates a candidate's competency in machine learning for mitigating overfitting in tabular regression under production latency constraints, testing knowledge of regularization, model complexity control, feature engineering, validation strategies, and experimental design.
Machine LearningTechnical Screen - 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 - ByteDanceMediumData ScientistChoose Ranking Functions, Customer Value Metrics, and Predictive Models
This problem tests the ability to implement SQL window functions for cohort analysis, define robust customer lifetime value metrics, and articulate the trade-offs between various machine learning algorithms in a production setting.
Machine LearningTechnical ScreenSQLCustomer-AnalyticsModel-Selection - ByteDanceHardData ScientistHow to deploy and tune multimodal models?
A six-part ByteDance data scientist onsite ML interview covering deploying and tuning multimodal models under GPU/VRAM, compute, and latency constraints; designing fast video retrieval over precomputed captions and embeddings with ANN and hybrid reranking; and deep-learning fundamentals — overfitting detection and mitigation, dropout and inverted-dropout scaling, normalization layers (BatchNorm/LayerNorm/GroupNorm/InstanceNorm/RMSNorm), and reinforcement learning for LLM post-training (RLHF). It tests practical systems tradeoffs alongside theoretical foundations across ML systems, retrieval, and reinforcement learning.
Machine LearningOnsite - ByteDanceMediumData ScientistHow would you choose a classification threshold?
This question evaluates understanding of threshold selection for probabilistic binary classifiers, testing competencies in validation-set decision threshold choice, cost-sensitive trade-offs between false positives and false negatives, effects of class imbalance, and probability calibration.
Machine LearningTechnical Screen - ByteDanceHardData ScientistPredict Short-Video Engagement with Skewed Data
Design a short-video engagement model with explicit targets, leakage-safe features, heavy-tail handling, exposure awareness, and temporal evaluation.
Machine LearningTechnical Screen - C3 AIMediumData ScientistChoose Tokenization and Dense or Sparse Retrieval
This problem tests your understanding of document retrieval strategies, specifically comparing sparse and dense representations and how to integrate them into a production RAG system.
Machine LearningTechnical ScreenRAGNLPInformation Retrieval - 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 AIHardData ScientistCompare PCA and Autoencoders Under the Curse of Dimensionality
This question tests your conceptual understanding of dimensionality reduction techniques and your ability to weigh their performance in high-dimensional feature spaces prone to the curse of dimensionality.
Machine LearningTechnical ScreenDimensionality ReductionPCAAutoencoders - C3 AIHardData ScientistCompare Transformers and RNNs and Derive Attention Complexity
Evaluate candidate's deep learning foundations by comparing Transformer and recurrent architectures and deriving exact time/memory complexities for standard scaled dot-product attention across training and inference.
Machine LearningTechnical ScreenTransformersRNNAttention Mechanism - C3 AIHardData ScientistConnect Bias-Variance Trade-offs to Bagging and Boosting
This question tests the conceptual understanding of how ensemble methods manipulate model error components through different structural paradigms.
Machine LearningTechnical ScreenBias-VarianceEnsemble LearningBagging - C3 AIMediumData ScientistExplain key ML/stats concepts
Explain key ML/stats concepts 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 - 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