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
Capital One logo
Capital One
Easy
Data Scientist Locked

Compare average unit profit under mix shift

This question evaluates competency in basic statistics and arithmetic applied to unit economics, specifically understanding weighted averages and sale...

Statistics & Math
4
0
30 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Compute multi-account activity and unread percentages in SQL

You are given two tables. Use them as the source of truth and do not assume any other data. Table: notifications +--------+------------+------------+-...

Data Manipulation (SQL/Python)
2
0
25 people solved
Oct 13, 2025
DoorDash logo
DoorDash
Hard
Data Scientist Locked

Design and analyze batching algorithm experiment

This question evaluates experiment design and causal inference competencies—covering geo-randomization and spillover control, precise metric specifica...

Analytics & Experimentation
5
0
92 people solved
Oct 13, 2025
DoorDash logo
DoorDash
Medium
Data Scientist

Write complex SQL on DoorDash data

You are given the following BigQuery-style schema and tiny samples (assume timestamps are UTC; assume promotions.discount_amount is the applied discou...

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

Solve multi-part SQL with sliding windows

Assume 'today' is 2025-09-01. You are given the following tables. users(user_id INT PRIMARY KEY, signup_date DATE) orders(order_id INT PRIMARY KEY, us...

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

Solve SQL CTR and Python analytics tasks

Part A — SQL: Compute click-through rate (CTR) by pin_format for US new users. New users are those whose signup_date is within 30 days (inclusive) of ...

Data Manipulation (SQL/Python)
0
0
4 people solved
Oct 13, 2025
Pinterest logo
Pinterest
Easy
Data Scientist

Compute average unique pins per user

Task: Average Unique Pins Per User You are given a mapping from user IDs to their lists of pin IDs. Implement a function that computes the mean number...

Coding & Algorithms
12
0
87 people solved
Oct 13, 2025
Freddie Mac logo
Freddie Mac
Medium
Data Scientist

Design SQL cleaning, mapping, dedupe, and keying

Assume PostgreSQL 15. You may choose a different SQL dialect if you clearly state it and adapt syntax accordingly. Schema and small sample data: - Tab...

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

Match prior-year profit with new fixed costs

This question evaluates cost–volume–profit analysis, unit economics, and algebraic modeling of fixed versus variable costs in a multi-product sales mi...

Statistics & Math
3
0
28 people solved
Oct 13, 2025
Capital One logo
Capital One
Medium
Data Scientist Locked

Identify and validate risky assumptions

This question evaluates experimental design, causal inference, and business-analytics competencies for a Data Scientist by testing the ability to iden...

Analytics & Experimentation
2
0
29 people solved
Oct 13, 2025
Hard
Data Scientist Locked

Decide launch with p=0.10 at alpha 0.05

This question evaluates a data scientist's competency in statistical inference and experiment decision-making, including frequentist hypothesis testin...

Statistics & Math
1
0
22 people solved
Oct 13, 2025
Hard
Data Scientist Locked

Define goals and success metrics for subscriber-only features

This question evaluates a data scientist's competency in product analytics and experimentation, specifically goal selection, success metric definition...

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

Design and justify unread-account pinning experiment

This question evaluates a data scientist's competency in experimental design, causal inference, metric definition, instrumentation, and analysis for p...

Analytics & Experimentation
1
0
22 people solved
Oct 13, 2025
DoorDash logo
DoorDash
Medium
Data Scientist

Write SQL for cuisine median delivery times

Use SQL to answer the following. Assume ANSI SQL with window functions and percentile functions available. Treat “today” as 2025-09-01 (inclusive). Co...

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

Map sources to functional dataset with SQL

You must produce a functional, consumption‑ready dataset for daily exposure monitoring. Assume “today” = 2025‑09‑01. Use the last 7 calendar days by t...

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

Define scalable train/validation for churn

This question evaluates a data scientist's competency in designing scalable, leakage-safe training, validation, evaluation, and serving pipelines for ...

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

Choose tests for rare-event A/B analysis

This question evaluates expertise in statistical experiment design for rare binary outcomes, covering hypothesis test selection for low-event-rate pro...

Statistics & Math
2
0
27 people solved
Oct 13, 2025
Meta logo
Meta
Hard
Data Scientist Locked

Design and analyze notification pinning experiment

This question evaluates experimental design, causal inference, metric definition and instrumentation, sample size estimation, and analysis skills in t...

Analytics & Experimentation
1
0
22 people solved
Oct 13, 2025
Microsoft logo
Microsoft
Medium
Data Scientist

Query email logs for deliverability insights

Using the schema and sample data below, write SQL to answer parts a–c. Assume timestamps are UTC. Today is 2025-09-01. Schema: - Emails(sent_id INT, m...

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

Compute CTR by format for new US users

You are given three tables. Write a single SQL query to compute click-through rate (CTR) by pin_format for NEW users in the US, where NEW users are th...

Data Manipulation (SQL/Python)
2
0
10 people solved
Oct 13, 2025