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

Write SQL and Pandas for Uber Trips

Assume 'today' = 2025-09-01. You are given the following schema and small ASCII samples. Tables - riders(rider_id, name, signup_date) - drivers(driver...

Data Manipulation (SQL/Python)
0
0
11 people solved
Oct 13, 2025
Snowflake logo
Snowflake
Hard
Data Scientist

Design an A/B test for ML model launch

Feed Ranker A/B Test Design and Powering You are replacing the current ranker with a new model in a feed. Baseline CTR is 2.0%. You expect a +5% relat...

Analytics & Experimentation
6
0
53 people solved
Oct 13, 2025
Snowflake logo
Snowflake
Medium
Data Scientist

Query seven-day conversion with windows and dedupe

Assume all timestamps are UTC. Treat "today" as 2025-09-01. Define "last 7 days" as the inclusive window [2025-08-26 00:00:00, 2025-09-01 23:59:59]. S...

Data Manipulation (SQL/Python)
2
0
40 people solved
Oct 13, 2025
Snowflake logo
Snowflake
Hard
Data Scientist

Implement DFS with cycle detection and topo order

Implement DFS (recursive and iterative) with topo sort, cycle detection, and timestamps You are given a directed graph G with N nodes labeled 1..N and...

Coding & Algorithms
10
0
84 people solved
Oct 13, 2025
Upstart logo
Upstart
Hard
Data Scientist

Analyze aggregator lender page flows

Loan Comparison Page: Instrumentation, Metrics, Insights, Experiment, and Cannibalization Context You own a loan comparison page (similar to NerdWalle...

Analytics & Experimentation
4
0
66 people solved
Oct 13, 2025
Upstart logo
Upstart
Medium
Data Scientist

Write monthly touches and last-touch SQL

You have two tables tracking marketing touches and downstream conversions. Write SQL to answer the three prompts below. Assume a warehouse like Postgr...

Data Manipulation (SQL/Python)
9
0
68 people solved
Oct 13, 2025
TikTok logo
TikTok
Hard
Data Scientist

Design and evaluate a dasher bike rollout

Program Evaluation: Allow Car Dashers to Also Use Their Own Bikes/E-bikes Context DoorDash (DD) will relaunch an opt-in feature that lets existing car...

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

Test 15s to 60s video length change

Experiment Design: Change Default Creator Video Length from 15s to 60s Context You are designing an A/B test for a short‑form video platform with two ...

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

Cover HR screen: role, motivation, comp, immigration, location

Prompt: 90‑Second Summary and Logistics for a Data Scientist Technical Screen Context You are preparing for a Data Scientist technical screen. Provide...

Behavioral & Leadership
2
0
38 people solved
Oct 13, 2025
Robinhood logo
Robinhood
Medium
Data Scientist

Write SQL and Python for transaction analytics

You are given user and transaction data. Part A (SQL): Use a join and window functions to answer the prompts below using the following schema and samp...

Data Manipulation (SQL/Python)
10
0
156 people solved
Oct 13, 2025
Amazon logo
Amazon
Hard
Data Scientist

Demonstrate ownership and communication under pressure

Behavioral Interview: Ownership, Dive Deep, Raise the Bar (Data Scientist) Provide concise, data-backed stories using STAR (Situation, Task, Action, R...

Behavioral & Leadership
3
0
35 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Define and analyze new-vs-existing activity

Ambiguous product question: Are existing users more active than new users over the last 28 days (ending today = 2025-09-01)? 1) Propose two reasonable...

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

Compute per-player daily cumulative games with windows

Write a SQL query to output, for each player_id and each calendar date present in the data, the cumulative number of games played up to and including ...

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

Design metrics and write SQL for a case

Case: Measure the impact of outreach on subsequent purchases and diagnose anomalies. Define your primary metric and write SQL. Schema and tiny samples...

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

Implement streaming per-user reservoir sampling

Design and code (in Python) a streaming algorithm that ingests an unbounded event stream of tuples (user_id, event_time, event_type) and maintains, fo...

Coding & Algorithms
0
0
9 people solved
Oct 13, 2025
Meta logo
Meta
Hard
Data Scientist

Define success metrics and guardrails for B2B chat

Define a Success-Measurement Plan for a New EU B2C Chat Subscription You are launching a paid business-to-customer chat subscription in the EU. Design...

Analytics & Experimentation
7
0
66 people solved
Oct 13, 2025
Meta logo
Meta
Hard
Data Scientist

Justify EU B2B Chat Product Strategy

Executive Brief Task: EU B2C Customer-Service Chat (Subscription) Context You are asked to prepare a one-page executive brief recommending whether to ...

Behavioral & Leadership
4
0
47 people solved
Oct 13, 2025
Microsoft logo
Microsoft
Medium
Data Scientist

Solve two-pointer, sliding-window, and string tasks

Solve the following three coding tasks: 1) Two-pointer in-place de-duplication: Given a non-decreasing integer array nums and an integer k >= 1, modif...

Coding & Algorithms
6
0
46 people solved
Oct 13, 2025
Capital One logo
Capital One
Medium
Data Scientist

Write SQL to quantify outage revenue loss

A database outage blocked premium membership registrations from 2025-01-01 to 2025-03-31 (inclusive). Members intend to start on intended_start_date, ...

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