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

Build a Bayes classifier for reviewer types

This question evaluates Bayesian inference skills, including posterior updating under conditional independence, likelihood modeling for categorical ob...

Machine Learning
2
0
25 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Compute posterior for accurate-but-rare classifier

Bayes' Theorem: Interpreting Screening Model Predictions Context You are evaluating a binary screening model that flags "bad" users in a population. T...

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

Derive expected meetings given nonempty room

Zero-Truncated Binomial: Random Room Assignment Setup - There are N rooms labeled 1, 2, ..., N. - K meetings are scheduled; each meeting independently...

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

Compare two ad insertion strategies

Ad Insertion Strategies for a 100-Post Feed You are evaluating two ad-insertion strategies on a feed with 100 posts: - Strategy A (Stochastic): Indepe...

Analytics & Experimentation
1
0
30 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Model user-level ad impression allocation

Random Assignment of Ad Impressions to Users Context - There are X distinct users and Y ad impressions (X ≥ 1, Y ≥ 0 integers). - Each impression is i...

Statistics & Math
7
0
74 people solved
Oct 13, 2025
Capital One logo
Capital One
Medium
Data Scientist

Impute, join, and upsert using SQL and Python

Write both SQL and Python (pandas) to complete the following data-manipulation tasks. Assume today is 2025-09-01 for any time filters. Schema: custome...

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

Find premium share for break-even

This question evaluates a candidate's ability to construct and manipulate a linear financial model and perform break-even analysis using algebra, basi...

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

Design profitability growth plan

This question evaluates a data scientist's skills in business analytics, experimentation design, and strategic framework development for profitability...

Analytics & Experimentation
3
0
39 people solved
Oct 13, 2025
Uber logo
Uber
Hard
Data Scientist

Evaluate impact without randomized experiments

Estimating a Promotion's Causal Effect Without an Experiment Context You need to estimate the causal impact of a marketing promotion on engagement (e....

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

Diagnose sales correlations without claiming causality

This question evaluates a data scientist's competency in designing correlation-focused observational analyses, including exposure-window definition, c...

Analytics & Experimentation
1
0
31 people solved
Oct 13, 2025
Expedia logo
Expedia
Hard
Data Scientist

Lead alignment under ambiguity and pressure

Behavioral/Leadership Case: Resolving KPI Misalignment Under Time Pressure Context You are a data scientist preparing for an onsite interview. Multipl...

Behavioral & Leadership
6
0
50 people solved
Oct 13, 2025
Expedia logo
Expedia
Hard
Data Scientist

Validate and monitor ranking model end-to-end

Expedia Hotel-Ranking Model: Evaluation, Metrics, Diagnostics, Rollout, and KPI Alignment Context: You are building a learning-to-rank (LTR) model to ...

Machine Learning
8
0
77 people solved
Oct 13, 2025
Capital One logo
Capital One
Hard
Data Scientist

Describe best team and complex project

Behavioral & Technical Deep-Dive Part 1 — Best Team You Worked On Describe a high-performing team you were part of. Include: 1. Mission and business i...

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

Compute weekly 3-week rolling sums in SQL

Using PostgreSQL, write a single query that outputs, for each calendar week in a given range, the sum of amounts in that week and a rolling sum over t...

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

Measure notification impact and set guardrails

This question evaluates causal inference, experiment design, metric specification and attribution, statistical power calculation, and long-term monito...

Analytics & Experimentation
2
0
20 people solved
Oct 13, 2025
Pinterest logo
Pinterest
Medium
Data Scientist

Write SQL and pandas for shopping events

Use the schema and sample data below to answer SQL and pandas tasks. Treat 'today' as 2025-09-01. Schema users(user_id INT, country STRING) pins(pin_i...

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

Identify latent group-call demand from behavior

This question evaluates a data scientist's ability to design measurable product-analytics signals, infer latent user demand from event-level messaging...

Analytics & Experimentation
3
0
22 people solved
Oct 13, 2025
Uber logo
Uber
Medium
Data Scientist

Clean, split, merge, and aggregate with pandas

Given two CSVs, use pandas to clean, split strings, merge, and aggregate. drivers.csv driver_id,name,signup_city D1,Jane Doe,SF D2,Mark S,NYC D3,A...

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

Write SQL for fares and age-band counts

You have two tables. Schema: - drivers(driver_id VARCHAR PRIMARY KEY, name VARCHAR, date_of_birth DATE) - trips(trip_id VARCHAR PRIMARY KEY, driver_id...

Data Manipulation (SQL/Python)
3
1
43 people solved
Oct 13, 2025
Uber logo
Uber
Medium
Data Scientist

Check anagrams under real-world constraints

Given two strings s and t, determine whether they contain exactly the same multiset of characters (e.g., 'abc' and 'cab' → true; 'aab' and 'ab' → fals...

Coding & Algorithms
4
0
84 people solved
Oct 13, 2025