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
Google logo
Google
Medium
Data Scientist Locked

Handle p≈n linear regression with L1

This question evaluates competence in high-dimensional linear regression, penalized estimation (L1/L2/elastic net), preprocessing and feature handling...

Machine Learning
15
0
99 people solved
Oct 13, 2025
Citadel logo
Citadel
Hard
Data Scientist

Estimate OLS via streaming sufficient statistics

Streaming OLS and Ridge for Out-of-Core, High-Dimensional Linear Regression You need to estimate linear regression coefficients when the dataset is to...

Machine Learning
15
0
156 people solved
Oct 13, 2025
Google logo
Google
Medium
Data Scientist

Build and evaluate a full ML pipeline

You must predict both (1) probability that a user will spend >$0 in the next 7 days (classification) and (2) expected spend in the next 7 days (regres...

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

Choose and compute recommender evaluation metrics

Restaurant Recommender: Offline Evaluation and Modeling Context: You are scoring p(y=1|x) with logistic regression to predict if a user will engage wi...

Machine Learning
6
0
62 people solved
Oct 13, 2025
Google logo
Google
Medium
Data Scientist

Handle highly imbalanced classification data

You must build a binary classifier for fraud with a 0.2% positive rate and 10M rows × 500 features. Propose an end-to-end plan that covers: 1) data sp...

Machine Learning
15
0
121 people solved
Oct 13, 2025
Google logo
Google
Medium
Data Scientist

Decide between two vendors under constraints

You have two third‑party search vendors, A and B, plus historical order‑level data: lead_time_days, unit_price, on_time_rate, defect_rate, min_order_q...

Machine Learning
3
0
64 people solved
Oct 13, 2025
Hard
Data Scientist

Extract companies from noisy text

Extracting Company Names from Noisy Resumes and Web Snippets Context You receive messy resume text (PDF-to-text/OCR, varying casing) and scraped web s...

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

Design and evaluate an uplift model

Targeting a 20% Subset With a Free-Delivery Promotion to Maximize Incremental Orders per Dollar Context You work on a two-sided delivery marketplace a...

Machine Learning
14
0
114 people solved
Oct 13, 2025
Flatiron Health logo
Flatiron Health
Medium
Data Scientist

Build a robust ML pipeline

You inherit an ML pipeline that predicts next-7-day churn for users, but data quality is inconsistent and feature drift is suspected. A) Propose an en...

Machine Learning
11
0
87 people solved
Oct 13, 2025
Stripe logo
Stripe
Hard
Data Scientist

Design a model for subscription adoption prediction

Predicting 60-Day Adoption of Subscription by Non-Subscription Merchants Context You need to predict which merchants who are not currently using the S...

Machine Learning
2
0
32 people solved
Oct 13, 2025
Boston Consulting Group logo
Boston Consulting Group
Hard
Data Scientist

Reduce overfitting under constraints

Reduce Overfitting Under Latency Constraints (Tabular Regression) Context (assumed) - You have a tabular regression model with a large generalization ...

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

Design a restaurant recommender under constraints

This question evaluates a candidate's competency in designing scalable machine learning recommender systems, covering retrieval and ranking architectu...

Machine Learning
4
0
43 people solved
Oct 13, 2025
Amazon logo
Amazon
Hard
Data Scientist

Compare Random Forests vs Gradient Boosting rigorously

Technical ML Choice: Random Forest vs. Gradient-Boosted Trees for Large-Scale Binary Classification Problem Setup You need to choose between a Random ...

Machine Learning
6
0
54 people solved
Oct 13, 2025
Thumbtack logo
Thumbtack
Medium
Data Scientist Locked

Forecast response-rate trends with backtesting

This question evaluates proficiency in time-series forecasting and model validation, including feature engineering, model selection, rolling-origin ba...

Machine Learning
4
0
58 people solved
Oct 13, 2025
Microsoft logo
Microsoft
Hard
Data Scientist

Compare CNN/RNN/LSTM and implement K-means

Deep Learning Concepts and K-means Implementation (Onsite ML Interview) This is a two-part onsite round for a Data Scientist role: a conceptual deep-l...

Machine Learning
13
0
119 people solved
Oct 13, 2025
Travelers Insurance logo
Travelers Insurance
Easy
Data ScientistIntern

Handle multicollinearity in feature selection

You are building an interpretable predictive model for an insurance company, such as a linear or logistic regression model for claim risk. Several inp...

Machine Learning
4
0
56 people solved
Mar 29, 2026
Pinterest logo
Pinterest
Hard
Data Scientist

Verify Machine-Learning Fundamentals for E-commerce Recommendation Platform

Verify Machine-Learning Fundamentals for E-commerce Recommendation Platform Rapid ML Fundamentals Check — Recommender Systems Context You are intervie...

Machine Learning
10
0
66 people solved
Aug 4, 2025
Netflix logo
Netflix
Medium
Data Scientist

Design Real-Time Fraud Detection with XGBoost Model

Design Real-Time Fraud Detection with XGBoost Model Real-Time Fraud Detection with XGBoost (Subscription Payments) Scenario You need to build and oper...

Machine Learning
15
0
114 people solved
Aug 4, 2025
Boston Consulting Group logo
Boston Consulting Group
Easy
Data Scientist

Train GradientBoostingClassifier with 5-Fold Cross-Validation

Train GradientBoostingClassifier with 5-Fold Cross-Validation Final Model Training: GradientBoostingClassifier with 5-Fold CV Context Assume the noteb...

Machine Learning
6
0
50 people solved
Aug 4, 2025
Meta logo
Meta
Medium
Data Scientist

Evaluate and Experiment with Harmful Content Detection Model

Evaluate and Experiment with Harmful Content Detection Model Evaluating a Harmful-Content Detection Model: Offline and Online Context You are given a ...

Machine Learning
76
0
153 people solved
Aug 4, 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