Tech Interview Questions

Practice 9,031+ 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.0k Questions 486 Companies08.11.2026
Showing 20 results
Role
Google logo
Google
Medium
Data Scientist

Implement anagram check and stable deduplication

Part A — Anagram checker: Write a function is_anagram(a: str, b: str, locale: str = 'en') -> bool that returns True iff a and b are anagrams under the...

Coding & Algorithms
4
0
49 people solved
Oct 13, 2025
Meta logo
Meta
Hard
Data Scientist Locked

Design and analyze end-to-end A/B test

This question evaluates experimentation design and analysis competencies for A/B testing, including metric selection, statistical interpretation, inte...

Analytics & Experimentation
3
0
27 people solved
Oct 13, 2025
DoorDash logo
DoorDash
Medium
Data Scientist

Model schema and query new-market readiness

Assume today is 2025-09-01. You are given (or can propose) a minimal schema to assess new-market readiness and early performance. Use the schema below...

Data Manipulation (SQL/Python)
1
0
12 people solved
Oct 13, 2025
CVS Health logo
CVS Health
Medium
Data Scientist

Compute age-band spend and YoY in Georgia

Using ANSI SQL only, answer the three parts below on the following schema and samples. Assume dates are YYYY-MM-DD, paid_amt can be negative (adjustme...

Data Manipulation (SQL/Python)
0
0
7 people solved
Oct 13, 2025
Instacart logo
Instacart
Hard
Data Scientist Locked

Use regression vs cohorts for A/B estimation

This question evaluates a data scientist's competency in regression-adjusted causal estimation, specifying interaction terms and assessing heterogeneo...

Analytics & Experimentation
5
0
83 people solved
Oct 13, 2025
Amazon logo
Amazon
Medium
Data Scientist

Solve stock, BFS path, and merge intervals

Solve three coding problems; justify complexity and corner cases. A) Best Time to Buy/Sell Stock (one transaction): Given prices[0..n-1] (integers), r...

Coding & Algorithms
4
0
36 people solved
Oct 13, 2025
Uber logo
Uber
Hard
Data Scientist Locked

Choose between A/B and switchback for spillovers

This question evaluates experimental-design and causal-inference competencies, specifically handling interference and spillovers, defining experimenta...

Analytics & Experimentation
10
0
96 people solved
Oct 13, 2025
Uber logo
Uber
Hard
Data Scientist Locked

Measure driver experience quantitatively

This question evaluates a data scientist's competencies in designing composite metrics, event-level aggregation, statistical validation, debiasing for...

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

Model preference without ground truth

This question evaluates a data scientist's competency in uplift modeling, causal inference, experimental design, weak supervision, and bias and shift ...

Machine Learning
2
0
25 people solved
Oct 13, 2025
Capital One logo
Capital One
Medium
Data Scientist Locked

Determine intersection dimension of two 4D subspaces

This question evaluates linear algebra skills—specifically understanding of subspace dimensions, intersections and sums, and the dimension formula for...

Statistics & Math
2
0
35 people solved
Oct 13, 2025
Stripe logo
Stripe
Medium
Data Scientist Locked

Quantify impact without an A/B test

This question evaluates a data scientist's competency in causal inference, quasi-experimental methods, time-series analysis, identification strategy s...

Analytics & Experimentation
1
0
17 people solved
Oct 13, 2025
Flatiron Health logo
Flatiron Health
Medium
Data Scientist

Write SQL window functions for streaks

Assume today is 2025-09-01. Using standard SQL (e.g., PostgreSQL), answer the following using window functions only (no procedural loops, no correlate...

Data Manipulation (SQL/Python)
0
0
5 people solved
Oct 13, 2025
Capital One logo
Capital One
Medium
Data Scientist Locked

Decide whether to renew or sell a TV series

This question evaluates a data scientist's skills in financial valuation (NPV and LTV), causal inference and experimental design, sensitivity analysis...

Analytics & Experimentation
4
0
31 people solved
Oct 13, 2025
Capital One logo
Capital One
Medium
Data Scientist

Impute missing values without leakage

Given a DataFrame df with columns: user_id, event_date (datetime), country (categorical), device_type (categorical), age (numeric), income (numeric), ...

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

Write SQL to localize trading drop contributors

Use the schema and samples below. Unless stated, treat a user as active on a day if they attempted any order (any status). Dates are inclusive. Schema...

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

Derive paying users over time with churn

This question evaluates the ability to model user conversion and churn with discrete-time recurrence relations, derive closed-form expressions for pay...

Statistics & Math
5
0
75 people solved
Oct 13, 2025
Netflix logo
Netflix
Medium
Data Scientist

Write SQL for DAU and first-purchase conversion

Today is 2025-09-01. Using the schema and sample data below, write a single ANSI-SQL query that returns one row per day for the last 7 days (2025-08-2...

Data Manipulation (SQL/Python)
22
0
177 people solved
Oct 13, 2025
DoorDash logo
DoorDash
Medium
Data Scientist

Write SQL for cold-complaint diagnostics with LAG/QUALIFY

Using BigQuery/Snowflake-style SQL (CTEs required; use LAG and QUALIFY), answer the tasks below. Assume 'today' is 2025-09-01. Schema and small sample...

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

Write SQL to analyze Group Calls adoption

Write SQL (assume PostgreSQL) to analyze Group Calls adoption and cannibalization. Use this schema and sample data. Schema: - users(user_id INT PRIMAR...

Data Manipulation (SQL/Python)
0
0
4 people solved
Oct 13, 2025
Uber logo
Uber
Hard
Data Scientist Locked

Design and Evaluate an Experiment on Surge

This question evaluates experiment design, causal inference, power analysis, and implementation skills relevant to pricing and supply experiments in a...

Analytics & Experimentation
9
0
83 people solved
Oct 13, 2025