Tech Interview Questions

Practice 9,224+ 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.16.2026
Showing 20 results
Role
Meta logo
Meta
Hard
Data Scientist Locked

Design a restaurant recommender under constraints

This question evaluates a candidate's competency in designing scalable machine learning recommender systems, covering retrieval and ranking architectu...

Machine Learning
4
0
43 people solved
Oct 13, 2025
Capital One logo
Capital One
Hard
Data Scientist

Assess transition and profitability under fossil-fuel constraints

Energy One: Transition from Fossil Fuels to Renewables Context Energy One currently has a total technical maximum output of 8.8 million MWh/year. Regu...

Behavioral & Leadership
4
0
67 people solved
Oct 13, 2025
Intuit logo
Intuit
Medium
Data Scientist

Explain a non-linear industry switch

Behavioral Interview Prompt — Transition from Semiconductor to SaaS Analytics You are in an HR screen for a Data Scientist role. The interviewer chall...

Behavioral & Leadership
9
0
75 people solved
Oct 13, 2025
Uber logo
Uber
Hard
Data Scientist

Measure rider incentive causal ROI

Rider Incentive Targeting: Causal Incrementality, ROI, and Spillovers Context: You plan a rider‑side incentive (e.g., “20% off up to $10”) targeted by...

Statistics & Math
6
0
101 people solved
Oct 13, 2025
Freddie Mac logo
Freddie Mac
Hard
Data Scientist

Choose estimators for panel rent regressions

Panel Rent–Vacancy Elasticity and Inference: Design, SEs, and Time-Series Diagnostics Context You have a monthly property-level panel from 2010-01 to ...

Statistics & Math
8
0
86 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Model session times and comments with exponential/Poisson

Session Duration Memoryless Assumption and Poisson Comment Counts Setup - We model user session end times with a constant hazard (memoryless) over tim...

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

Compute optimal stopping in a die-rolling game

Optimal stopping with a fair die (3-roll horizon) You observe outcomes of fair six-sided die rolls (faces 1–6) and may stop after any roll to take the...

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

Explain fit for Capital One BA

Behavioral Prompt: 2‑Minute Pitch for a Business Analyst Interview at Capital One Task Deliver a concise, 2‑minute response that covers: 1. Who you ar...

Behavioral & Leadership
2
0
31 people solved
Oct 13, 2025
Capital One logo
Capital One
Hard
Data Scientist

Optimize theme park queues and revenue

Virtual Queue Pilot: Experiment Design and Analysis Context A theme park is piloting a virtual queue system designed to reduce average wait time by 20...

Analytics & Experimentation
7
0
79 people solved
Oct 13, 2025
Amazon logo
Amazon
Hard
Data Scientist

Compare Random Forests vs Gradient Boosting rigorously

Technical ML Choice: Random Forest vs. Gradient-Boosted Trees for Large-Scale Binary Classification Problem Setup You need to choose between a Random ...

Machine Learning
6
0
54 people solved
Oct 13, 2025
Thumbtack logo
Thumbtack
Hard
Data Scientist

Design a robust pro-ranking A/B test

Experiment Design: Evaluating a New Pro Ranking Algorithm (Ranker) in a Two‑Sided Marketplace You are designing an experiment to evaluate a new pro ra...

Analytics & Experimentation
6
0
60 people solved
Oct 13, 2025
Thumbtack logo
Thumbtack
Hard
Data Scientist Locked

Build a defensible ML pipeline end-to-end

This question evaluates a data scientist's competence in designing and defending an end-to-end production ML pipeline for mixed tabular data, assessin...

Machine Learning
4
0
60 people solved
Oct 13, 2025
Airbnb logo
Airbnb
Medium
Data Scientist

Compute browsing metrics in Python from logs

Given event logs, write idiomatic Pandas to compute segment-level metrics and a funnel. Data schema: events(event_id, ts_utc, guest_id, device in {des...

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

Design robust metrics for a feature launch

A/B Test Metrics and Guardrails for Quick Reply (1-week) Context You are adding a Quick Reply feature (suggested reply chips in the DM composer) to a ...

Analytics & Experimentation
3
0
49 people solved
Oct 13, 2025
Google logo
Google
Hard
Data Scientist

Explain a favorite model end-to-end

Predictive Model Deep-Dive (End-to-End) Pick one predictive model you know deeply (e.g., logistic regression, gradient-boosted trees, transformer clas...

Machine Learning
4
0
60 people solved
Oct 13, 2025
Roblox logo
Roblox
Hard
Data Scientist

Design real-time payments fraud model under constraints

Real-Time ML Policy Design: Prevent Unauthorized Purchases by Minors Context: You need to reduce unauthorized purchases by minors using their parents'...

Machine Learning
14
0
101 people solved
Oct 13, 2025
Twitch logo
Twitch
Hard
Data Scientist

Design an A/B test for pre-roll ads

A/B Test: Reduce Mobile Live‑Stream Pre‑Roll Ad Frequency by 20% Context: You are designing an experiment on mobile live streams to evaluate reducing ...

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

Maintain target margin with fixed costs

Target Profit Margin With a Mixed-Product Portfolio Context You sell two burger products (classic and vegan) at the same price but with different unit...

Statistics & Math
3
0
45 people solved
Oct 13, 2025
Hard
Data Scientist

Decide launch with asymmetric costs

Launch Decision Under Asymmetric Costs (Experiment p=0.10) Context You ran an A/B test on a churn‑reduction feature. The test's p‑value was 0.10 (sugg...

Analytics & Experimentation
3
0
41 people solved
Oct 13, 2025
SoFi logo
SoFi
Medium
Data Scientist

Align with PM on ranking goals

Stakeholder Alignment and De-risking a Home Page Product Ranking Initiative Context You are a data scientist asked by a PM to "rank products on the ho...

Behavioral & Leadership
6
0
65 people solved
Oct 13, 2025