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
DoorDash logo
DoorDash
Medium
Software Engineer

Make a Courier Pay Workflow Resilient to Downstream Failures

Make a Courier Pay Workflow Resilient to Downstream Failures A coding exercise has produced a simplified courier-pay calculator. The calculation rules...

Software Engineering Fundamentals
3
0
22 people solved
Aug 4, 2026
J.P. Morgan logo
J.P. Morgan
Medium
Machine Learning Engineer

Return Every Index Pair Whose Values Sum to a Target

Return Every Index Pair Whose Values Sum to a Target Problem Implement all_pairs_sum(nums, target). Given an unordered array of integers, return every...

Coding & Algorithms
2
0
20 people solved
Aug 5, 2026
Decagon logo
Decagon
Hard
Software Engineer

Count Legal Tic-Tac-Toe Games from the Empty Board

Count Legal Tic-Tac-Toe Games from the Empty Board Start with an empty 3-by-3 Tic-Tac-Toe board. X always moves first, and the players alternate placi...

Coding & Algorithms
13
0
103 people solved
Jul 17, 2026
Amazon logo
Amazon
Medium
Software EngineerSenior+

Schedule Priority Jobs with Cooldowns

Schedule Priority Jobs with Cooldowns Implement a scheduler for recurring jobs: `text addJob(job_id, priority, cooldown) -> bool getJob() -> job_id or...

Coding & Algorithms
10
0
72 people solved
Jul 17, 2026
Databricks logo
Databricks
Medium
Software Engineer Locked

Design a Thread-Safe Buffered Writer with a Background Flush Thread

This question assesses a candidate's ability to design a concurrent, thread-safe component that decouples fast in-memory writes from slower disk I/O u...

System Design
72
0
837 people solved
Jun 23, 2026
DoorDash logo
DoorDash
Medium
Data Scientist

Design and Evaluate a Refund Policy for Delayed Orders

Design and Evaluate a Refund Policy for Delayed Orders A delivery marketplace is considering automatically refunding customers whose orders are delaye...

Analytics & Experimentation
12
0
86 people solved
Jul 19, 2026
Anthropic logo
Anthropic
Hard
Machine Learning Engineer

Design a Dynamically Batched Inference API

Design a Dynamically Batched Inference API Design a high-concurrency HTTP API for language-model inference. Clients submit individual requests, but GP...

System Design
22
0
193 people solved
Jul 8, 2026
Asana logo
Asana
Medium
Software Engineer

Design a Real-Time Like Counter for Collaborative Tasks

Design a Real-Time Like Counter for Collaborative Tasks Design the backend and client-update flow for a collaborative task product in which signed-in ...

System Design
8
0
177 people solved
Jul 16, 2026
Decagon logo
Decagon
Hard
Software Engineer

Design a Space-Efficient Versioned Recipe Shopping Cart

Design a Space-Efficient Versioned Recipe Shopping Cart Design an in-memory shopping cart for a cooking app. Each recipe has an ID and a list of ingre...

Software Engineering Fundamentals
7
0
88 people solved
Jul 17, 2026
OpenAI logo
OpenAI
Medium
Software Engineer

Design a Highly Available Conversational AI Service

Design a Highly Available Conversational AI Service Design a conversational AI service that accepts a user message and streams a generated response. B...

System Design
5
0
73 people solved
Jul 17, 2026
Capital One logo
Capital One
Medium
Software Engineer

Count Pairs of Cyclically Equivalent Integers

Count Pairs of Cyclically Equivalent Integers Two non-negative integers are cyclically equivalent when their standard decimal strings have the same le...

Coding & Algorithms
6
0
83 people solved
Jul 21, 2026
Amazon logo
Amazon
Easy
Software Engineer

Design an Amazon Locker Service

Design a Single-Station Package Locker Design the classes and core workflows for one self-service package-locker station. A delivery driver deposits a...

System Design
15
0
203 people solved
Jul 4, 2026
DoorDash logo
DoorDash
Medium
Software Engineer

Design Food Reviews, Votes, and Reviewer Rewards

Design Food Reviews, Votes, and Reviewer Rewards Design a service where users can rate a food item, post a written review, and upvote or downvote anot...

System Design
30
0
215 people solved
Jul 10, 2026
Anthropic logo
Anthropic
Medium
Software Engineer Locked

Design an LLM Request Batching System

This question evaluates a candidate's ability to design a concurrent batching layer that groups individual requests into shared GPU inference calls un...

System Design
88
0
684 people solved
Jun 23, 2026
Plaid logo
Plaid
Medium
Software Engineer

Count Completed Jobs in a Serial Single-Worker Pipeline

Count Completed Jobs in a Serial Single-Worker Pipeline An automation pipeline contains stages that execute in order. Each stage is represented as [nu...

Coding & Algorithms
11
0
92 people solved
Jul 13, 2026
Capital One logo
Capital One
Medium
Data Scientist

Evaluate Growth and Pricing for a Grocery Delivery Startup

You are advising an early-stage grocery delivery company. Work through the following growth, profitability, and regional-pricing case. The numbers bel...

Analytics & Experimentation
15
0
104 people solved
Jul 12, 2026
Nuro logo
Nuro
Medium
Software Engineer

Design a Reliable Job Scheduler

Design a general-purpose job scheduler. Clients submit jobs for execution at or after a requested time, inspect status, and cancel jobs that have not ...

System Design
2
0
41 people solved
Jul 24, 2026
Asana logo
Asana
Medium
Software Engineer

Design an Extensible Animal-Chess Game Engine

Design an Extensible Animal-Chess Game Engine Design an object-oriented engine for a two-player, turn-based animal-chess game. The interviewer will su...

Software Engineering Fundamentals
10
0
153 people solved
Jul 16, 2026
DoorDash logo
DoorDash
Medium
Data Scientist

Evaluate a Bike Dasher Program with a Controlled Experiment

Evaluate a Bike Dasher Program with a Controlled Experiment A delivery marketplace is considering a program that encourages some couriers to make deli...

Analytics & Experimentation
4
0
70 people solved
Jul 18, 2026
NVIDIA logo
NVIDIA
Hard
Software EngineerSenior+

Design a Multi-Producer Multi-Consumer Circular Buffer

Design a Multi-Producer Multi-Consumer Circular Buffer Design a fixed-capacity circular buffer shared by multiple producer and consumer threads. Produ...

Software Engineering Fundamentals
12
0
118 people solved
Jul 16, 2026