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 211–240 of 264 results
- TikTokHardData ScientistDesign Real-Time Credit Card Fraud Detection System
Evaluates real-time credit-card fraud detection system design under latency, drift, and asymmetric costs. Strong answers cover data, delayed labels, features, models, serving architecture, monitoring, retraining, and thresholding.
Machine LearningOnsite - TikTokHardData ScientistDesign an ad-selection system across objectives
This question evaluates expertise in machine learning system design for ad selection and real-time bidding, covering predictive modeling and calibration, value unification across objectives, auction mechanics, budget pacing, exploration strategies, guardrails, and evaluation methodologies.
Machine LearningTechnical Screen - TikTokEasyData ScientistDesign multimodal deployment under compute limits
This question evaluates competency in Machine Learning systems engineering for a Data Scientist role, covering multimodal model deployment and inference optimization, scalable retrieval (ANN and hybrid search), generalization and regularization concepts (overfitting, dropout), normalization methods, and RLHF, emphasizing both theoretical principles and engineering feasibility. It is commonly asked to assess reasoning about trade-offs between quality, latency, and cost in resource-constrained environments, validation via offline/online metrics, and the ability to bridge conceptual understanding with practical deployment and system-level design considerations.
Machine LearningOnsite - TikTokHardData ScientistDesign recommendations objective balancing growth and monetization
This question evaluates a data scientist's competency in designing multi-objective recommender systems that balance user growth and creator monetization, covering ranking objective formulation, per-impression value estimation, constraint enforcement (latency, diversity, fairness/exposure), offline-to-online metric validation, cold-start and exploration strategies, and interference/attribution challenges within the Machine Learning domain. It is commonly asked to assess the ability to reason about trade-offs between business and user metrics, to define measurable objectives and validation plans, and to demonstrate both conceptual understanding and practical application of system design and evaluation.
Machine LearningHR Screen - TikTokHardData ScientistEstimate heterogeneous treatment effects with causal ML
This question evaluates a candidate's competency in causal machine learning, heterogeneous treatment effect estimation, off-policy evaluation, and fairness-aware policy design using observational data.
Machine LearningTechnical Screen - TikTokHardData ScientistExplain and tune XGBoost; prevent overfitting
This question evaluates understanding of XGBoost tree-boosting internals, hyperparameter impacts on bias/variance/training time, strategies for imbalanced binary classification and leakage-aware validation, post-training calibration, and interpretability for tabular fraud detection.
Machine LearningTechnical Screen - TikTokEasyData ScientistHow do you choose a classification threshold?
This question evaluates a data scientist's competency in binary classification threshold selection, end-to-end ML pipeline design, model evaluation, and operational trade-offs including class imbalance, asymmetric error costs, and limited escalation capacity, within the Machine Learning domain of model evaluation and deployment.
Machine LearningTechnical Screen - TikTokEasyData ScientistWhen prioritize precision vs recall
This question evaluates a data scientist's competency with binary classification metrics (precision and recall), cost-sensitive decision-making, and operating-threshold selection for productized models in the Machine Learning domain.
Machine LearningTechnical Screen - TowerHardData ScientistExplain Why Constant Neural-Network Initialization Fails
This question tests the conceptual understanding of weight initialization strategies and the symmetry-breaking property required for neural network gradient-based optimization.
Machine LearningTechnical ScreenDeep LearningInitializationOptimization - TudorMediumData ScientistEstimate Volatility from Gaussian and Brownian Samples
This question evaluates skills in statistical estimation and stochastic process modeling, specifically parameter estimation for Gaussian samples and volatility estimation from discrete Brownian motion observations, focusing on estimating the volatility parameter (sigma) or its variance (sigma^2).
Machine LearningTechnical Screen - TuroHardData ScientistCompare XGBoost and LightGBM
This question evaluates a data scientist's understanding of gradient-boosted tree implementations and practical model trade-offs, covering competencies in algorithmic differences, performance and memory characteristics, handling of missing and categorical features, regularization risks, and hyperparameter considerations for production models.
Machine LearningOnsite - TwitchHardData ScientistDesign real-time live-stream recommendations
This question evaluates competency in designing real-time recommender systems within the Machine Learning domain, covering objectives and label construction for streaming events, feature engineering across user/creator/stream/context, model and loss choices, bias mitigation, evaluation metrics, and low-latency serving and freshness constraints.
Machine LearningTechnical Screen - 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 SigmaHardData ScientistBuild a Housing Price Prediction Model from Historical Data
This question evaluates a data scientist's competency in end-to-end supervised machine learning for real-estate pricing, focusing on precise outcome definition, feature engineering, handling missing and time-varying data, and robustness to market regime changes.
Machine LearningOnsite - Two SigmaHardData ScientistDerive correlation bounds and omitted-variable bias
This problem tests your understanding of the constraints on correlation matrices and your ability to analytically derive the bias introduced in linear models when a relevant predictor is ignored.
Machine LearningTechnical ScreenLinear RegressionLinear AlgebraStatistics - Two SigmaEasyData ScientistDesign a house-price prediction model
This problem evaluates your ability to design a robust end-to-end machine learning pipeline for house price prediction, focusing on data preprocessing, feature engineering, and validation strategy.
Machine LearningTechnical ScreenRegressionFeature EngineeringModel Validation - Two SigmaMediumData ScientistDesign features for house price prediction
This question tests your ability to engineer features from heterogeneous tabular data, handle missing values, and select appropriate evaluation metrics for a high-stakes regression problem.
Machine LearningTechnical ScreenFeature EngineeringRegressionData Preprocessing - Two SigmaHardData ScientistForecast bikes available at a station
This question tests the ability to design a robust time-series forecasting pipeline, specifically addressing feature engineering for cyclic temporal patterns and the selection of appropriate validation strategies for sequential data.
Machine LearningTechnical ScreenTime-SeriesFeature EngineeringForecasting - Two SigmaMediumData ScientistHow detect duplicate card records?
This question evaluates a candidate's competency in duplicate detection, record linkage, entity resolution, and data quality assessment within credit card transaction datasets.
Machine LearningTechnical Screen - Two SigmaEasyData ScientistHow to forecast bike dock demand
This problem tests your ability to design a predictive pipeline for spatio-temporal demand, focusing on feature extraction from time-series data and robust validation strategies.
Machine LearningTechnical ScreenTime-SeriesFeature EngineeringValidation - Two SigmaHardData ScientistHow would you forecast bike demand?
This problem tests your ability to design a robust machine learning pipeline for time-series demand forecasting, focusing on feature engineering for exogenous variables and evaluation metrics for spatial-temporal data.
Machine LearningTechnical ScreenTime-SeriesFeature EngineeringRegression - 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 - Two SigmaMediumData ScientistPredict Stock Prices from Google Search Data
This question evaluates a candidate's competency in time-series and cross-sectional predictive modeling, alternative-data feature engineering, and rigorous validation to prevent temporal leakage within the Machine Learning domain.
Machine LearningTechnical Screen - Two SigmaHardData ScientistPredict a Company's Stock Price from Six Years of Web Search Logs
This question evaluates proficiency in feature engineering and time-series forecasting from large-scale event logs, including entity linking, aggregation and normalization, handling non-stationarity and drift, and model selection and validation for predicting a given company's stock price.
Machine LearningTechnical Screen - Two SigmaHardData ScientistPredict bike demand and avoid overfitting
This question evaluates time-series forecasting, feature engineering, awareness of data leakage risks, model evaluation choices, and overfitting prevention competencies within the Machine Learning domain applied to demand prediction.
Machine LearningTechnical Screen - Two SigmaHardData ScientistSlopes of y-on-x vs x-on-y Regression: Relationship and When They Are Equal
This question evaluates understanding of simple OLS linear regression estimators, moment-based expressions for slopes, the relationship between y-on-x and x-on-y fitted slopes, and how correlation and variable scaling influence coefficient values.
Machine LearningTechnical Screen - Two SigmaMediumData ScientistWhy Is the Sample Mean Approximately Normal for Large Samples?
This question evaluates understanding of the Central Limit Theorem and asymptotic statistical reasoning, including recognition that the standardized sample mean (equivalently the standardized sum) becomes approximately normal and how that fact underpins inference such as confidence intervals.
Machine LearningTechnical Screen - UberMediumData ScientistBuild cold-start restaurant ratings
This problem tests the ability to design an end-to-end machine learning system for predicting restaurant ratings when historical user-item interactions are scarce, focusing on feature engineering, model selection, and bias mitigation.
Machine LearningTechnical ScreenCold-StartRegressionFeature Engineering - UberHardData ScientistDesign ETA prediction for Uber rides
This question evaluates competency in end-to-end machine learning system design for real-time spatiotemporal ETA prediction, encompassing feature engineering from heterogeneous data sources, uncertainty quantification, model selection, and production serving and monitoring.
Machine LearningTechnical Screen - UberMediumData ScientistDesign a Ride-Hailing ETA System
This question evaluates a data scientist's competency in end-to-end machine learning system design for spatiotemporal prediction, covering temporal and geospatial feature engineering, model family selection, metric tradeoffs and calibration, selection bias and noise handling, latency and deployment constraints, monitoring, and experiment design.
Machine LearningTechnical Screen