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 61–90 of 264 results

  • C3 AIEasyData Scientist
    Identify a classic bagging algorithm

    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 Identify a classic bagging algorithm states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Machine LearningTechnical Screen
  • C3 AIHardData Scientist
    Keep Gradient Descent from Stalling at Poor Solutions

    Design a rigorous diagnostic procedure and remediation plan for gradient descent stalling at suboptimal loss values, differentiating true local minima from saddle points, vanishing gradients, and poor conditioning.

    Machine LearningTechnical ScreenOptimizationDeep LearningLoss Landscapes
  • CVS HealthMediumData Scientist
    Build 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 HealthHardData Scientist
    Design classification under missingness and imbalance

    This question evaluates a data scientist's competency in missing data diagnosis and imputation, handling severe class imbalance, choosing and interpreting classification and calibration metrics, and improving logistic regression as part of an end-to-end predictive pipeline on claims and EHR data, and it falls under the Machine Learning domain.

    Machine LearningTechnical Screen
  • CVS HealthHardData Scientist
    Handle challenges in MMM/MMX

    This question evaluates a data scientist's competency in applied Machine Learning and causal inference for marketing-mix modeling, focusing on diagnosing model fragility from multicollinearity, endogeneity, non‑stationarity, measurement error, and decisions around adstock, saturation and promotion effects.

    Machine LearningTechnical Screen
  • CVS HealthMediumData Scientist
    Implement 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
  • CVS HealthEasyData Scientist
    Reduce LLM hallucination and handle class imbalance

    This question tests your ability to design a robust pipeline for detecting clinical inaccuracies in LLM outputs while managing highly imbalanced datasets where missing a critical diagnosis is costlier than a false alarm.

    Machine LearningTechnical ScreenLLMRAGImbalanced Learning
  • CVS HealthMediumData Scientist
    Tune classifier and compute key metrics

    This question tests your ability to optimize a classification threshold based on business costs and your understanding of how to bridge classification and regression tasks.

    Machine LearningTechnical ScreenClassificationCost-sensitive LearningThresholding
  • Capital OneEasyData Scientist
    Build House Price Model Responsibly

    This problem tests your ability to design a robust, fair, and scalable machine learning pipeline for house price prediction, emphasizing data preprocessing, model selection, and ethical oversight.

    Machine LearningOnsiteSupervised LearningRegressionFairness
  • Capital OneMediumData Scientist
    Build and evaluate donation propensity model

    This question evaluates a data scientist's competency in profit-oriented predictive modeling, including conversion and donation-amount modeling, handling sparse and categorical features, calibration and uplift estimation, and offline policy evaluation under selection bias.

    Machine LearningOnsite
  • Capital OneMediumData Scientist
    Compare Logistic Regression and Random Forest in Python

    Design, evaluate, and contrast a Logistic Regression baseline and a Random Forest model on an imbalanced credit default prediction dataset in Python. Walk through pipeline design, validation strategy, probability calibration, decision thresholding, and production trade-offs.

    Machine LearningTechnical ScreenClassificationModel EvaluationPipelines
  • Capital OneMediumData Scientist
    Design ML deployment with GitHub and Jenkins

    This question tests the ability to design an end-to-end MLOps pipeline, focusing on CI/CD orchestration, model versioning, reproducibility, and security compliance in a regulated financial environment.

    Machine LearningOnsiteMLOpsCI/CDSystem Design
  • Capital OneHardData Scientist
    Design a production face recognition system

    This question evaluates production ML system design and engineering skills specific to face recognition, covering on-device model selection and embedding design, training objectives and evaluation protocols, anti-spoofing and robustness mechanisms, privacy and template protection, performance/resource constraints, fairness and monitoring, and safe experimentation. It is asked in the Machine Learning domain for Data Scientist roles because it assesses trade-offs between privacy, security, latency, and scalability in real-world systems, and it tests both conceptual understanding of biometric and security principles and practical application for deploying and operating on-device ML.

    Machine LearningOnsite
  • Capital OneEasyData Scientist
    Design robber detection from surveillance video

    This question assesses the ability to design an end-to-end computer vision pipeline for detecting rare, high-stakes events in real-time video surveillance.

    Machine LearningTechnical ScreenComputer VisionSystem DesignAnomaly Detection
  • Capital OneMediumData Scientist
    Diagnose Multicollinearity in Flight Delay Prediction Model

    Evaluates flight-delay modeling, data quality checks, and multicollinearity diagnosis. Strong answers identify leakage and timestamp issues, choose classification or regression based on the target, diagnose VIF and correlated features, and mitigate multicollinearity based on prediction or interpretation goals.

    Machine LearningOnsite
  • Capital OneMediumData Scientist
    Evaluate Models for Credit-Risk Scoring at Capital One

    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 Evaluate Models for Credit-Risk Scoring at Capital One states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Machine LearningOnsite
  • Capital OneMediumData Scientist
    Evaluate OutlierHandler Class for Code Quality and Testing

    Evaluates code-review judgment for OutlierHandler and imputer preprocessing classes in ML pipelines. Strong answers explain fit-transform separation, leakage prevention, API quality, edge cases, and testing.

    Machine LearningOnsite
  • Capital OneMediumData Scientist
    Evaluate Python Class Design in Data Pipeline

    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 Evaluate Python Class Design in Data Pipeline states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Machine LearningOnsite
  • Capital OneMediumData Scientist
    Explain MSE vs MAE, AUC, and imbalance handling

    This question evaluates a candidate's understanding of regression loss trade-offs (MAE vs MSE), classification evaluation metrics under severe class imbalance (ROC-AUC vs PR-AUC), neural network output activation and loss dynamics, and practical techniques for imbalance mitigation and probability-threshold selection in binary classification.

    Machine LearningHR Screen
  • Capital OneMediumData Scientist
    How would you design delay and watchlist models?

    This question evaluates competencies in end-to-end machine learning system design, covering time-series regression and label-leakage concerns, feature engineering, handling skewed targets and rare costly events, imbalanced and open-set face-recognition classification, evaluation and calibration, thresholding and decision systems, deployment and monitoring, and ethical/privacy trade-offs. It is commonly asked to assess the ability to balance statistical modeling with operational, business, and legal constraints; the domain is Machine Learning for a Data Scientist role and the required level spans both conceptual understanding and practical application.

    Machine LearningTechnical Screen
  • Capital OneMediumData Scientist
    Identify Risks and Improve Imputation Class Implementations

    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 Identify Risks and Improve Imputation Class Implementations states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Machine LearningOnsite
  • Capital OneHardData Scientist
    Model flight delays with EDA and explanation

    This question evaluates a data scientist's competency in time-aware predictive modeling, exploratory data analysis for leakage and target drift detection, temporal cross-validation design, feature engineering and handling of rare categories and class imbalance, model selection (linear and tree-based), explainability and robustness testing, and deployment/experiment specification within the Machine Learning / Data Science domain. It is commonly asked because it probes practical application of production-ready ML workflows on temporally ordered data—assessing conceptual understanding of data leakage, drift, and validation alongside practical skills for metric selection, thresholding, inference contracts and operational reliability, so the level of abstraction spans both practical application and conceptual understanding.

    Machine LearningTechnical Screen
  • Capital OneHardData Scientist
    Present and defend your data challenge end-to-end

    This question evaluates end-to-end data science and machine learning competency, focusing on problem definition, data provenance and schema, exploratory data analysis, baselines and modeling choices, validation and metrics, error analysis, fairness and robustness, productionization, and reproducibility.

    Machine LearningHR Screen
  • Capital OneMediumData Scientist
    Resolve 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
  • CitadelMediumData Scientist
    Analyze Correlations and Generate Gaussians

    This question evaluates understanding of correlation properties, feasible dependence constraints in multivariate distributions, construction of joint random variables with specified pairwise correlations, and methods for generating Gaussian samples from uniform random number generators, testing skills in probability, statistics, and simulation within the Machine Learning domain. It is commonly asked to assess both conceptual understanding of dependence structures and positive semidefiniteness and practical application of random variate generation techniques, reflecting a mix of conceptual and applied competencies for data scientist roles.

    Machine LearningTechnical Screen
  • CitadelMediumData Scientist
    Analyze Town Temperatures and Select Predictors for NYC

    Implement exact pandas and NumPy functions for temperature statistics, single- and two-town regressions, deterministic return values, and greedy five-feature forward selection.

    Machine LearningTechnical Screen
  • CitadelEasyData Scientist
    Choose Between Precision and Recall for a Classification Decision

    Review precision and recall for imbalanced classification and learn how both change with the decision threshold. Choose an operating point from error costs, capacity, calibration, uncertainty, and segment performance instead of treating either metric as universally best.

    Machine LearningTechnical Screen
  • CitadelHardData Scientist
    Classify Variable-Length, Unordered Point Sequences with Missing Features

    A staged live-coding ML task: classify whole sequences of 6-feature points as 0 or 1, then adapt the model as lengths vary from 16 to 100, point order stops being meaningful, and some features go missing. Tests model selection, length and permutation invariance, and practical missing-value handling.

    Machine LearningTechnical Screen
  • CitadelEasyData Scientist
    Decide Whether an LSTM Is Appropriate for Sequence Data

    Decide whether an LSTM is appropriate for sequential data by defining the sequence unit, prediction horizon, masking, and time-safe validation. Compare the model with lag-based and simpler baselines while considering data size, overfitting, latency, and maintainability.

    Machine LearningTechnical Screen
  • CitadelHardData Scientist
    Design Framework for Robust House-Price Prediction Model

    Evaluates robust house-price prediction modeling across diagnostics, features, scale, and validation. Strong answers cover linear regression diagnostics, Cook's distance, leverage, Random Forest complexity controls and variable importance, housing-market feature engineering, leakage prevention, large-scale training, and time-geography validation.

    Machine LearningTechnical Screen