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
Amazon logo
Amazon
Medium
Software EngineerNew Grad

Recover from a Missed Deadline

Recover from a Missed Deadline Prompt Tell me about a deadline you missed or were on course to miss. Explain how the commitment was made, when you rec...

Behavioral & Leadership
11
0
186 people solved
Jul 15, 2026
DoorDash logo
DoorDash
Medium
Software Engineer

Design an Alert Notification Service for Downstream Consumers

Design an Alert Notification Service for Downstream Consumers Design an alert-notification system whose recipients are downstream services rather than...

System Design
4
0
34 people solved
Aug 4, 2026
OpenAI logo
OpenAI
Medium
Machine Learning Engineer Locked

Implement Masked Cross-Entropy with Label Smoothing

Implement numerically stable masked cross-entropy in NumPy with label smoothing and optional temperature scaling. Validate shapes, dtypes, finite logi...

Machine Learning
55
0
469 people solved
Jun 27, 2026
Harvey logo
Harvey
Hard
Software Engineer

Design Retrieval-Augmented Answers from a Document Vault

Design a service that accepts a user's prompt, searches a large document vault, and returns a grounded answer with citations to relevant source passag...

ML System Design
5
0
57 people solved
Jul 27, 2026
Rippling logo
Rippling
Medium
Software Engineer

Implement A Prioritized Task Scheduler With Parent Dependencies

Implement a task scheduler. Each task has an id, due date, create time, high-priority flag, assignee, completion status, description, and optionally a...

Software Engineering Fundamentals
93
1
624 people solved
Jul 3, 2026
Optiver logo
Optiver
Hard
Software EngineerSenior+

Design a News Subscription Processing Engine

Design a news subscription processing engine with four core capabilities: receive a news item, add a subscription, remove a subscription, and publish ...

Software Engineering Fundamentals
5
0
93 people solved
Jul 19, 2026
OpenAI logo
OpenAI
Hard
Software Engineer Locked

Design the GPU Job Scheduler for a Text-to-Video Generation Service

This system design question evaluates a candidate's ability to design a resource-scheduling layer for scarce, expensive compute under sustained overlo...

System Design
58
1
1049 people solved
Jun 26, 2026
Cursor logo
Cursor
Medium
Software Engineer

Implement Deterministic Merkle Hashing for a Repository

Implement Deterministic Merkle Hashing for a Repository You are given a repository abstraction with operations to identify files and directories, read...

Software Engineering Fundamentals
33
0
258 people solved
Jul 13, 2026
Google logo
Google
Medium
Software Engineer

Deduplicate and Order Batch and Streaming Logs

Deduplicate and Order Batch and Streaming Logs Each log entry is a pair (timestamp, message). Two entries are duplicates when their message strings ar...

Software Engineering Fundamentals
11
0
134 people solved
Jul 15, 2026
Rippling logo
Rippling
Medium
Software Engineer

Design a Rule Evaluation Engine for Spending Policy Violations

Design an extensible rule-evaluation engine for a corporate spending product. Employees submit expenses, and managers choose policies that flag expens...

Software Engineering Fundamentals
50
1
787 people solved
Jul 1, 2026
Scale AI logo
Scale AI
Easy
Machine Learning Engineer

Design an Embedding and Classification API

Design an Embedding and Classification API Design a service that accepts text items, generates vector embeddings, and optionally classifies each item ...

ML System Design
4
0
48 people solved
Jul 27, 2026
Cresta logo
Cresta
Medium
Software Engineer

Design a Robust Feature Flag Evaluation Engine

You are given feature definitions and user records as JSON. Each feature flag has a key, an enabled switch, a default Boolean, and an ordered list of ...

Software Engineering Fundamentals
7
0
60 people solved
Jul 24, 2026
Ramp logo
Ramp
Hard
Software Engineer

Design a Tunable Recurring-Transaction Detector

Design a Tunable Recurring-Transaction Detector You receive a file of transactions and need to identify likely recurring payments such as subscription...

Software Engineering Fundamentals
6
0
113 people solved
Jul 18, 2026
Upstart logo
Upstart
Medium
Software Engineer

Find the Minimum Absolute Difference

Find the Minimum Absolute Difference Implement minimum_absolute_difference(values). Given at least two integers, return the smallest absolute differen...

Coding & Algorithms
3
0
46 people solved
Jul 27, 2026
Databricks logo
Databricks
Hard
Software EngineerSenior+

Implement Generalized Tic-Tac-Toe

Implement Generalized Tic-Tac-Toe Implement a TicTacToe class for two players on an m by n board with a configurable winning length k. `text TicTacToe...

Coding & Algorithms
15
0
146 people solved
Jul 7, 2026
Airbnb logo
Airbnb
Easy
Software Engineer

Implement a Removable Nested-List Iterator

Implement a Removable Nested-List Iterator Implement an iterator over a mutable array of integer arrays. Traversal goes left to right within each inne...

Coding & Algorithms
10
0
94 people solved
Jul 14, 2026
Amazon logo
Amazon
Hard
Software Engineer

Minimize Replacements So Equal Product Values Are Contiguous

Minimize Replacements So Equal Product Values Are Contiguous You are given the quality value of each product in a line. In one operation, choose two d...

Coding & Algorithms
13
1
156 people solved
Jul 12, 2026
Medium
Software EngineerNew Grad

Solve a Set of Probability and Quantitative Reasoning Problems

Solve the following quantitative reasoning problems. Show enough work to make each result auditable, state any interpretation you need, and keep exact...

Statistics & Math
3
0
41 people solved
Jul 28, 2026
Airbnb logo
Airbnb
Hard
Software Engineer

Design a Stateful Working Hours Register

Design a working-hours register for employees who badge into and out of an office. Describe the data model, public operations, validation rules, and a...

Software Engineering Fundamentals
8
0
65 people solved
Jul 20, 2026
OpenAI logo
OpenAI
Medium
Software Engineer

Clarify and Design Social-Graph Milestones

Clarify and Design Social-Graph Milestones An interview exercise progresses through a social graph with snapshots, a milestone for retrieving follower...

Software Engineering Fundamentals
15
0
107 people solved
Jul 17, 2026