Tech Interview Questions

Practice 9,224+ 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.16.2026
Showing 20 results
Role
Google logo
Google
Medium
Data Scientist

Diagnose 10–11% usage drop across geos

US usage is down 10% and Mexico is down 11%. List plausible confounders (seasonality, pricing, outages, marketing mix, competitor moves, feature rollo...

Analytics & Experimentation
6
0
77 people solved
Oct 13, 2025
Google logo
Google
Medium
Data Scientist

Build and evaluate bad-link classifier

You have 1,000 URLs labeled as bad or good and a much larger unlabeled pool, with bad links rare. Design features and train a logistic regression. Exp...

Machine Learning
5
0
97 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Run a clean A/B test for recommendations

You must run an A/B test to evaluate the new hashtag recommender starting on 2025‑09‑01. 1) Define the randomization unit (user/session/impression) an...

Analytics & Experimentation
3
0
40 people solved
Oct 13, 2025
Amazon logo
Amazon
Medium
Data Scientist

Compute CIs, power, and multiple testing

A/B Testing Stats: Confidence Intervals, Power, Multiple Testing, and Clustering Context: You are planning an A/B experiment on a Bernoulli outcome (c...

Statistics & Math
7
0
67 people solved
Oct 13, 2025
Amazon logo
Amazon
Hard
Data Scientist

Compare Tableau live vs extract and filters

Scenario You are building an interactive dashboard over a 100M-row fact table. Compare Tableau connection options and performance behaviors for this s...

Analytics & Experimentation
6
0
76 people solved
Oct 13, 2025
Amazon logo
Amazon
Hard
Data Scientist Locked

Explain random forests, bagging, and evaluation

This question evaluates understanding of ensemble learning and model evaluation, covering Random Forest aggregation, feature subsampling, bagging vers...

Machine Learning
5
0
54 people solved
Oct 13, 2025
Amazon logo
Amazon
Hard
Data Scientist

Analyze an A/B test over last 7 days

A/B Test Readout and Decision (2025-08-26 to 2025-09-01) Context A 50/50 A/B experiment on the checkout flow ran for 7 days, from 2025-08-26 through 2...

Analytics & Experimentation
5
0
69 people solved
Oct 13, 2025
Amazon logo
Amazon
Hard
Data Scientist Locked

Plan and analyze an A/B test

This question evaluates expertise in experimental design and applied statistics — specifically power and sample-size calculations, clustering and desi...

Statistics & Math
5
0
66 people solved
Oct 13, 2025
Capital One logo
Capital One
Hard
Data Scientist

Diagnose profit drop via mix decomposition

Profit Decomposition, Attribution, Experiment Design, and Diagnostics Context and Assumptions (to make the task self-contained) We analyze why daily p...

Analytics & Experimentation
8
0
64 people solved
Oct 13, 2025
Medium
Data Scientist

Solve window-function SQL without joins

You must use only window functions (no JOINs). CTEs are allowed. Given the schemas and tiny samples below, write SQL for each sub-question and explain...

Data Manipulation (SQL/Python)
7
0
55 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Identify trees, lists, and array search costs

Answer all parts concisely and justify time complexities. a) A data model requires each node to have at most two children and a single parent. Name th...

Coding & Algorithms
6
0
57 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist Locked

Apply reinforcement learning to product decisions

This question evaluates expertise in reinforcement learning and sequential decision-making for product optimization, covering MDP formulation, contras...

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

Choose alternatives when randomization fails

Causal Impact of an Autoloaded Feature Without Clean Randomization Context You need to estimate the causal effect of a new autoloaded feature that is ...

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

Handle novelty and residual effects

This question evaluates a data scientist's competency in experiment design and causal inference for online metrics under temporal dynamics, specifical...

Analytics & Experimentation
2
0
28 people solved
Oct 13, 2025
Citadel logo
Citadel
Medium
Data Scientist

Derive distribution of an inverse transform

Change of Variables via the Logistic Map You are given a random variable X with density f_X supported on (0, 1). Define the strictly increasing logist...

Statistics & Math
3
0
58 people solved
Oct 13, 2025
Gemini logo
Gemini
Medium
Data Scientist

Detect k events in a sliding window

Implement an algorithm that, for each user, determines whether there exists a set of at least k ACH credit events from distinct device_ids within any ...

Coding & Algorithms
5
0
52 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Estimate delayed CVR nonparametrically with censored data

Today is 2025-09-01. We need the 14-day conversion rate (CVR14) for impressions served between 2025-08-18 and 2025-09-01, but many conversions occur w...

Statistics & Math
8
0
58 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist Locked

Contrast OLS, DiD, and PSM assumptions

This question evaluates proficiency in causal inference and econometric methods, specifically the ability to contrast OLS, two-way fixed-effects DiD, ...

Statistics & Math
5
0
52 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Resolve a team conflict decisively

Tell me about a time you resolved a significant conflict within a team under time pressure. Include: 1) the root causes (interests, incentives, commun...

Behavioral & Leadership
3
0
29 people solved
Oct 13, 2025
Etsy logo
Etsy
Hard
Data Scientist

Design ML ranking for query suggestions

Re-rank Query Suggestions for Autocomplete Context You are building a re-ranking system for search autocomplete. For each keystroke, a candidate gener...

Machine Learning
4
0
41 people solved
Oct 13, 2025