Data Scientist Machine Learning Interview Questions

Practice 434 real Machine Learning interview questions for Data Scientist roles. From companies including Meta, Amazon, Google, Capital One, TikTok.

434 Questions 85 Companies08.03.2026
Showing 20 results
Role
Thumbtack logo
Thumbtack
Medium
Data Scientist

Choose clustering vs regression; explain KNN

When would you use clustering vs. regression on a business problem with partially labeled outcomes? Specify the decision criteria (label availability,...

Machine Learning
6
0
75 people solved
Oct 13, 2025
Meta logo
Meta
Hard
Data Scientist

Design a hashtag recommender for News Feed

Design: Hashtag Recommendations in the News Feed Context You are adding hashtag recommendations alongside posts in a large social app’s News Feed. The...

Machine Learning
5
0
43 people solved
Oct 13, 2025
CVS Health logo
CVS Health
Hard
Data Scientist

Handle challenges in MMM/MMX

MMM Fragility Diagnosis and Remediation Plan (Weekly, 156 Weeks) Context You inherit a weekly Marketing Mix Model (MMM/MMX) with 156 weeks of data. Th...

Machine Learning
3
0
49 people solved
Oct 13, 2025
TikTok logo
TikTok
Hard
Data Scientist

Design recommendations objective balancing growth and monetization

Design a Multi-Objective Recommender for Long-Form Content You are designing the ranking objective and measurement plan for a long-form content recomm...

Machine Learning
9
0
63 people solved
Oct 13, 2025
CVS Health logo
CVS Health
Hard
Data Scientist

Build an uplift model for targeting

Flu-shot Campaign: Treatment-Effect Modeling and Targeting Policy You have historical campaign logs from last season that include randomized holdouts....

Machine Learning
9
0
74 people solved
Oct 13, 2025
TikTok logo
TikTok
Hard
Data Scientist

Explain and tune XGBoost; prevent overfitting

XGBoost Tree Booster: Objective, Hyperparameters, Tuning for Imbalanced Detection, and Post-training Use Context: You are building a binary classifier...

Machine Learning
4
0
66 people solved
Oct 13, 2025
Yelp logo
Yelp
Hard
Data Scientist

Design a Cold-Start-Aware Recommender

System Design: Two-Stage Recommender for a New Content App Context You are designing recommendations for a new content app with sparse interactions an...

Machine Learning
3
0
49 people solved
Oct 13, 2025
Capital One logo
Capital One
Hard
Data Scientist

Design a production face recognition system

Design an On-Device Face Recognition System for Mobile Access Control Context You are designing a face-based access control system for mobile devices ...

Machine Learning
4
0
71 people solved
Oct 13, 2025
CVS Health logo
CVS Health
Medium
Data Scientist

Implement R² and Compare PCA With/Without Scaling

NumPy-only implementation: R² and PCA (Data Scientist take-home) Implement from scratch using only NumPy (no scikit-learn). Use float64 throughout and...

Machine Learning
3
0
67 people solved
Oct 13, 2025
Google logo
Google
Hard
Data Scientist

Explain a favorite model end-to-end

Predictive Model Deep-Dive (End-to-End) Pick one predictive model you know deeply (e.g., logistic regression, gradient-boosted trees, transformer clas...

Machine Learning
4
0
60 people solved
Oct 13, 2025
Roblox logo
Roblox
Hard
Data Scientist

Design real-time payments fraud model under constraints

Real-Time ML Policy Design: Prevent Unauthorized Purchases by Minors Context: You need to reduce unauthorized purchases by minors using their parents'...

Machine Learning
14
0
101 people solved
Oct 13, 2025
Twitch logo
Twitch
Hard
Data Scientist

Design real-time live-stream recommendations

Design a Real-Time Recommendation System for Live Streams Context: You are designing a recommender for a large live-streaming platform. Assume you hav...

Machine Learning
5
0
51 people solved
Oct 13, 2025
TikTok logo
TikTok
Hard
Data Scientist

Explain SHAP vs VIF under collinearity

High Collinearity in Binary Classification: VIF, SHAP, and Interpretation Strategy You are modeling a binary outcome Y. Two numeric features A and B a...

Machine Learning
4
0
95 people solved
Oct 13, 2025
DoorDash logo
DoorDash
Hard
Data Scientist

Build a late-delivery risk model

Predict Late Delivery Risk at Order Creation Context You are given an anonymized dataset of marketplace orders with timestamps, store/customer/market ...

Machine Learning
11
0
99 people solved
Oct 13, 2025
Imc logo
Imc
Medium
Data Scientist Locked

Choose optimal posted price under adverse selection

This question evaluates probabilistic reasoning, Bayesian updating, expected-value optimization under asymmetric information, and basic mechanism-desi...

Machine Learning
2
0
52 people solved
Jan 14, 2026
Bytedance logo
Bytedance
Easy
Data Scientist Locked

Explain train-test generalization gap

This question evaluates understanding of model generalization and diagnostic competence within Machine Learning and Data Science, covering overfitting...

Machine Learning
5
0
46 people solved
Mar 9, 2026
Roblox logo
Roblox
Hard
Data Scientist

Normalize features and rank logistic coefficients

You are given a binary classification training dataset: - X: a 2D array of shape (n_samples, n_features) containing numeric features. - feature_names:...

Machine Learning
11
0
83 people solved
Nov 24, 2025
Roblox logo
Roblox
Hard
Data ScientistIntern

Fit logistic regression and return top features

You are given: - X: a 2D numeric array where each row is a feature and each column is an observation (shape: n_features x n_samples). - feature_names:...

Machine Learning
4
0
83 people solved
Nov 23, 2025
Citadel logo
Citadel
Medium
Data Scientist Locked

Explain factor leakage checks and IC/ICIR filtering

This question evaluates competency in factor-based predictive modeling, including detection of information leakage, use of information coefficient (IC...

Machine Learning
4
0
48 people solved
Oct 9, 2025
Lyft logo
Lyft
Hard
Data Scientist

Develop Dynamic-Pricing Algorithm for Lyft Balancing Key Factors

Develop a Dynamic-Pricing Algorithm for Lyft You are tasked with building a dynamic-pricing system for Lyft, a two-sided ride-hailing marketplace. The...

Machine Learning
38
0
165 people solved
Jul 12, 2025

Explore more Data Scientist Machine Learning interview questions

Real questions from candidate reports, grouped by company, topic and role.

By company
Other categories for Data Scientist
Machine Learning questions for other roles
Browse all