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

Write SQL for lowest price with ratings

You have two tables. Schema: - products(product_id INT PRIMARY KEY, product_name TEXT, category TEXT) - purchase(purchase_id INT PRIMARY KEY, product_...

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

Build and evaluate airline delay prediction model

You are given several CSVs for the classic airline delay challenge with columns like flight_date, carrier, flight_num, origin, dest, sched_dep, sched_...

Machine Learning
13
0
115 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist Locked

Decide event notification launch via experiments

This question evaluates a data scientist's competency in experimentation design, causal inference under network interference, metric engineering, and ...

Analytics & Experimentation
3
0
37 people solved
Oct 13, 2025
Thumbtack logo
Thumbtack
Medium
Data Scientist

Design cross-validation; explain bias–variance

Define cross-validation rigorously and compare k-fold, stratified k-fold, leave-one-out, nested CV, and time-series rolling/blocked CV. For a dataset ...

Statistics & Math
7
0
56 people solved
Oct 13, 2025
Boston Consulting Group logo
Boston Consulting Group
Medium
Data Scientist

Transform messy transactions with pandas

You are given two CSVs. transactions.csv - Columns: txn_id, user_id, ts_iso (ISO8601 with timezone), amount (decimal USD; refunds negative), merchant_...

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

Diagnose location-sorted recommender causing revenue drop

This question evaluates skills in diagnosing production recommender systems, causal inference and experimentation, multi-objective ranking and safe ex...

Machine Learning
3
0
66 people solved
Oct 13, 2025
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
50 people solved
Oct 13, 2025
CVS Health logo
CVS Health
Medium
Data ScientistSenior+

Explain your top strengths concretely

Behavioral Prompt: Strengths, STAR Evidence, and 90-Day Application Instructions State your top one or two strengths most relevant to a Senior Data Sc...

Behavioral & Leadership
6
0
57 people solved
Oct 13, 2025
CVS Health logo
CVS Health
Hard
Data Scientist

Handle challenges in MMM/MMX

MMM Fragility Diagnosis and Remediation Plan (Weekly, 156 Weeks) Context You inherit a weekly Marketing Mix Model (MMM/MMX) with 156 weeks of data. Th...

Machine Learning
3
0
49 people solved
Oct 13, 2025
CVS Health logo
CVS Health
Hard
Data Scientist

Launch and measure a TV campaign

6-Week Linear TV Experiment to Increase Flu Vaccinations Design a 6-week linear TV campaign and its measurement plan to causally estimate incremental ...

Analytics & Experimentation
7
0
60 people solved
Oct 13, 2025
Instacart logo
Instacart
Hard
Data Scientist

Improve low R² without p‑hacking

Predicting Contribution per Order with Low R² Context You are modeling contribution per order (a continuous per-order outcome such as margin or profit...

Machine Learning
9
0
80 people solved
Oct 13, 2025
Instacart logo
Instacart
Hard
Data Scientist Locked

Choose tests under non‑normal, unequal variance

This question evaluates understanding of statistical inference for heavy‑tailed, heteroskedastic A/B test metrics, covering CLT conditions for t‑tests...

Statistics & Math
8
0
132 people solved
Oct 13, 2025
Uber logo
Uber
Hard
Data Scientist

Compute A/B sample size under clustering

A/B Test Sample Size With Unequal Allocation, Clustering, and Attrition Context You are planning a two-arm signup A/B test (binary outcome: convert vs...

Statistics & Math
15
0
142 people solved
Oct 13, 2025
Uber logo
Uber
Medium
Data Scientist

Design airport dispatch with ETA uncertainty

You control airport pickups with streaming ETAs for arriving flights and live driver locations/queues. Design an online dispatch algorithm that minimi...

Coding & Algorithms
15
0
103 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
66 people solved
Oct 13, 2025
Google logo
Google
Medium
Data Scientist

Implement piecewise linear interpolation for time-to-empty

Time-to-Empty from a Discharge Curve (Piecewise Linear Interpolation) Implement a function time_to_empty(checkpoints, current_soc) that returns the nu...

Coding & Algorithms
4
0
41 people solved
Oct 13, 2025
TikTok logo
TikTok
Medium
Data Scientist

Analyze shopping funnel with joins and windows

Write SQL (PostgreSQL) to analyze a 4-step shopping funnel: view_product → add_to_cart → checkout_start → purchase. Use the schema and sample data bel...

Data Manipulation (SQL/Python)
14
0
115 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
36 people solved
Oct 13, 2025
Airbnb logo
Airbnb
Medium
Data Scientist

Compute C/T metrics from bookings and visits

Given two tables, compute control vs treatment (C/T) metrics, apply 24‑hour attribution, and generate a daily plot. Treat “today” as 2025‑09‑01; use t...

Data Manipulation (SQL/Python)
19
0
176 people solved
Oct 13, 2025
Chime logo
Chime
Medium
Data Scientist

Decide launch with CPA-profit trade-offs by segment

You receive an Excel with segment-level metrics for an A/B feature test. Decide whether to launch the feature for all users, only a segment, or not at...

Analytics & Experimentation
7
0
71 people solved
Oct 13, 2025