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 480 Companies08.05.2026
Showing 20 results
Role
Uber logo
Uber
Medium
Software EngineerSenior+

Design cart management lifecycle service

Scenario You are designing the backend for an on-demand delivery app (restaurants and grocery). Users can create a cart, modify items from multiple de...

System Design
140
0
1033 people solved
Mar 1, 2026
DoorDash logo
DoorDash
Medium
Data Scientist

How to test bike delivery?

You are a data scientist at a food-delivery marketplace. The company is considering launching a bicycle courier delivery option in selected cities. De...

Analytics & Experimentation
48
1
354 people solved
Mar 1, 2026
Anthropic logo
Anthropic
Medium
Software Engineer Locked

In-Memory Key-Value Database with Nested Transactions

This question evaluates a candidate's ability to design a data structure that layers transactional state over a committed base, testing skills in nest...

Coding & Algorithms
5
0
22 people solved
Jun 23, 2026
Uber logo
Uber
Medium
Software Engineer Locked

Deep Equality of Two Records

This coding question tests a software engineer's ability to implement recursive structural comparison across nested, heterogeneous data types. It eval...

Coding & Algorithms
1
0
12 people solved
Jun 23, 2026
Anthropic logo
Anthropic
Medium
Software Engineer Locked

Account Balance with Expiring Grants

This question evaluates the ability to design a data structure that tracks time-limited credit grants, prioritizing expiration order during spending a...

Coding & Algorithms
0
0
13 people solved
Jun 23, 2026
LinkedIn logo
LinkedIn
Medium
Software Engineer

The Celebrity Problem

The Celebrity Problem At a party there are n people, labeled 0 to n - 1. Among them there may be exactly one celebrity — a person who satisfies both o...

Coding & Algorithms
0
0
8 people solved
Jun 23, 2026
Two Sigma logo
Two Sigma
Hard
Data Scientist Locked

Why Use a t-Statistic?

This question evaluates understanding of the t-statistic as a standardized measure for testing whether an estimated effect differs from zero, covering...

Statistics & Math
5
0
106 people solved
Mar 18, 2026
Reddit logo
Reddit
Medium
Machine Learning EngineerSenior+

Design a video recommendation system

Scenario You are designing an ML-driven video recommendation product (home feed + “up next”) for a consumer app. The interviewer focuses heavily on in...

ML System Design
30
0
304 people solved
Feb 12, 2026
OpenAI logo
OpenAI
Medium
Data ScientistSenior+

Debug and harden trial-assignment Python code

You are given the following simplified Python snippet used to assign users and trigger a 1‑month free trial: """ import random, datetime, requests def...

Data Manipulation (SQL/Python)
37
0
454 people solved
Oct 13, 2025
Airbnb logo
Airbnb
Hard
Data Scientist

Design robust primary and guardrail metrics

Experiment Metric Design, Guardrails, and Power for a 14-Day A/B Test Context You are testing a newly launched, guest-facing booking feature in a glob...

Analytics & Experimentation
11
0
191 people solved
Oct 13, 2025
Google logo
Google
Hard
Machine Learning Engineer

Design multi-GPU matrix multiplication

Multi-GPU MatMul (2 GPUs): Design and Implementation You are given two GPUs connected via NVLink or PCIe. You must compute C = A × B where: - A is sha...

ML System Design
8
1
136 people solved
Sep 6, 2025
Capital One logo
Capital One
Easy
Data ScientistSenior+ Locked

Build House Price Model Responsibly

This question evaluates a data scientist's competencies in end-to-end supervised learning pipeline design—covering train/validation/test strategy, tar...

Machine Learning
5
0
102 people solved
Feb 28, 2026
Optiver logo
Optiver
Hard
Data Scientist Locked

How to rank statements by likelihood

This question evaluates proficiency in data interpretation, probabilistic reasoning, and statistical literacy for ranking statement likelihoods from v...

Machine Learning
13
0
148 people solved
Feb 3, 2026
Google logo
Google
Medium
Software Engineer Locked

Boolean Expression Tree with Leaf Flips

This question evaluates a candidate's ability to work with tree data structures and apply efficient update propagation techniques. It tests practical ...

Coding & Algorithms
6
0
26 people solved
Jun 9, 2026
LinkedIn logo
LinkedIn
Medium
Data Scientist Locked

Explain variance reduction in random forests

This question evaluates understanding of variance reduction in ensemble methods, the impact of inter-tree correlation on averaged predictors, and the ...

Machine Learning
12
0
84 people solved
Feb 19, 2026
Anthropic logo
Anthropic
Medium
Machine Learning Engineer Locked

Design a model downloader

This question evaluates a candidate's competency in ML system design and distributed systems, covering model lifecycle management, versioning, integri...

ML System Design
44
0
306 people solved
Feb 27, 2026
OpenAI logo
OpenAI
Hard
Software Engineer

Explain Your Engineering Ownership

You are on an initial technical screening call for a Software Engineer role. Despite being an early-stage "recruiter" screen, it is unusually technica...

Behavioral & Leadership
10
0
134 people solved
Apr 4, 2026
OpenAI logo
OpenAI
Hard
Software Engineer

Prevent Duplicate Request Processing

A client accidentally sends the same network request twice, for example because the user double-clicked a button, the client retried after a timeout, ...

System Design
28
0
206 people solved
Apr 4, 2026
Mercor logo
Mercor
Medium
Software Engineer

Explain what happens when opening a website

When a user types https://www.amazon.com into a browser and presses Enter, what happens end-to-end? Cover the major steps across the browser, DNS, TCP...

Software Engineering Fundamentals
8
0
116 people solved
Jan 17, 2026
Imc logo
Imc
Hard
Software Engineer Locked

When to use a dictionary vs an array?

This question evaluates understanding of data structures—arrays/lists versus dictionaries/hash maps—focusing on access patterns, time complexity for c...

Software Engineering Fundamentals
16
0
146 people solved
Jan 17, 2026