Tech Interview Questions

Practice 9,160+ interview questions from top companies including Google, Meta, Amazon, and more. Filter by company, role, and category.

Popular Interview Questions

Machine Learning Engineer + Data Scientist + Software Engineer Interview Questions

Practice the exact questions companies are asking right now.

9.2k Questions 486 Companies08.11.2026
Showing 20 results
Role
Thumbtack logo
Thumbtack
Hard
Data Scientist

Design and evaluate an A/B test for launch

A/B Test Design: New Matching Model for a Two‑Sided Marketplace Context You are testing a new matching/ranking model that determines which providers a...

Analytics & Experimentation
6
0
59 people solved
Oct 13, 2025
Boston Consulting Group logo
Boston Consulting Group
Medium
Data Scientist

Compute averages and binomial/Poisson probabilities

Streaming Mean and Binomial vs Poisson Approximation Part A — Streaming Mean Update You have an existing dataset of N = 1,000 observations with mean 1...

Statistics & Math
8
0
98 people solved
Oct 13, 2025
Airbnb logo
Airbnb
Hard
Data Scientist

Lead cross-functional decision without RCT evidence

Behavioral: Ship vs. Rollback After a Global Launch Without a Holdout Context You are a Data Scientist in a consumer marketplace. An important feature...

Behavioral & Leadership
11
0
115 people solved
Oct 13, 2025
Capital One logo
Capital One
Hard
Data Scientist

Design A/B test for credit card offer

A/B Test Design: New Credit-Card Acquisition Flow (Revised APR Disclosure + Signup Bonus) Context You are launching a new credit-card acquisition flow...

Analytics & Experimentation
11
0
114 people solved
Oct 13, 2025
Capital One logo
Capital One
Hard
Data Scientist

Design and analyze ad A/B test

A/B Test Analysis Plan: New Ad-Ranking Algorithm (B) vs. Production (A) Context: You are evaluating a new ad-ranking algorithm (B) against the current...

Analytics & Experimentation
3
0
65 people solved
Oct 13, 2025
Google logo
Google
Hard
Data Scientist Locked

Analyze time series and design validation experiment

This question evaluates competency in time series analysis, change-point detection, count-based forecasting, causal inference and experiment design, a...

Analytics & Experimentation
8
0
78 people solved
Oct 13, 2025
Netflix logo
Netflix
Hard
Data Scientist

Demonstrate handling dismissive stakeholders with candor

Behavioral Prompt: Managing Adversarial Dynamics While Driving Outcomes Context You are interviewing onsite for a Data Scientist role. A senior interv...

Behavioral & Leadership
10
0
113 people solved
Oct 13, 2025
DoorDash logo
DoorDash
Hard
Machine Learning Engineer

Discuss ML infrastructure fundamentals

Discuss ML infrastructure fundamentals ML System Design: Infra Stack, Feature Store, Reproducibility, and Monitoring Context: You are designing and op...

ML System Design
21
0
146 people solved
Jul 29, 2025
Anthropic logo
Anthropic
Hard
Software Engineer Locked

Design a batched inference API

This question evaluates competency in designing scalable, low-latency ML inference systems with dynamic batching, covering system architecture, reques...

ML System Design
8
0
89 people solved
Feb 8, 2026
NVIDIA logo
NVIDIA
Medium
Software Engineer Locked

Implement polynomial multiplication API in C

This question evaluates proficiency in C programming, API design, low-level data representation for polynomials, and algorithmic competence in perform...

Coding & Algorithms
9
0
86 people solved
Feb 8, 2026
LinkedIn logo
LinkedIn
Easy
Machine Learning Engineer Locked

Compute point-to-segment minimum distance

This question evaluates understanding of computational geometry and numerical robustness, testing the ability to compute Euclidean distances between a...

Coding & Algorithms
17
0
166 people solved
Feb 8, 2026
PayPal logo
PayPal
Easy
Data Scientist

Decide if a dice-betting game is favorable

You are considering a game against a “house” using fair six-sided dice. Rules: - You roll one die; the house rolls one die. - If your roll is strictly...

Statistics & Math
7
0
50 people solved
Dec 7, 2025
TikTok logo
TikTok
Easy
Data Scientist Locked

Explain Type I/II errors vs precision/recall

This question evaluates understanding of statistical hypothesis testing (Type I and Type II errors) and their relationship to binary classification me...

Statistics & Math
4
0
65 people solved
Nov 8, 2025
TikTok logo
TikTok
Easy
Data Scientist

How do you choose a classification threshold?

Context You built a binary sentiment classification model (e.g., positive vs. negative) and need to deploy it in a product where actions depend on the...

Machine Learning
4
0
56 people solved
Nov 8, 2025
Databricks logo
Databricks
Medium
Machine Learning Engineer Locked

Implement Linear Regression Gradient Descent

This question evaluates understanding of simple linear regression, batch gradient descent, loss function formulation, gradient derivation for model pa...

Machine Learning
6
0
55 people solved
Jan 6, 2026
Meta logo
Meta
Medium
Software Engineer Locked

Design a ranking and recommendation system

This question evaluates a candidate's competency in designing end-to-end ranking and recommendation systems, covering candidate generation, ranking, f...

System Design
9
0
64 people solved
Jan 6, 2026
Microsoft logo
Microsoft
Medium
Machine Learning EngineerSenior+ Locked

Compare preference alignment methods for LLMs

This question evaluates expertise in preference alignment techniques for large language models—including supervised fine-tuning, RLHF-style reward-mod...

Machine Learning
12
0
90 people solved
Jan 6, 2026
Two Sigma logo
Two Sigma
Hard
Data Scientist Locked

Forecast bikes available at a station

This question evaluates proficiency in time-series forecasting, feature engineering, handling temporal data splits, and incorporating operational cons...

Machine Learning
4
0
70 people solved
Jan 6, 2026
Amazon logo
Amazon
Medium
Software EngineerSenior+ Locked

Design globally consistent metadata service

This question evaluates expertise in distributed systems and system design, focusing on linearizable consistency, multi-region replication and partiti...

System Design
6
0
85 people solved
Jan 6, 2026
TikTok logo
TikTok
Medium
Software Engineer Locked

Answer core Python, CS, DB, and testing questions

This multi-part prompt evaluates core software engineering competencies including Python fundamentals (OOP, object/model behavior, iterators/generator...

Software Engineering Fundamentals
2
0
40 people solved
Jan 6, 2026