Tech Interview Questions

Practice 9,555+ interview questions from top companies including Google, Meta, Amazon, and more. Filter by company, role, and category.

Popular Interview Questions

Interview Questions

Practice the exact questions companies are asking right now.

9.6k Questions 505 Companies08.05.2026
Showing 20 results
Role
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
Affirm logo
Affirm
Medium
Software Engineer

Analyze Returning Borrowers Across Two Days of Logs

Analyze Returning Borrowers Across Two Days of Logs You receive two collections of loan-activity records, one for each of two consecutive days. Each r...

Data Manipulation (SQL/Python)
8
0
118 people solved
Jul 14, 2026
Apple logo
Apple
Medium
Software Engineer

Determine Whether an Undirected Graph Is Two-Colorable

Determine Whether an Undirected Graph Is Two-Colorable Given an undirected graph with nodes labeled 0 through n - 1, determine whether every node can ...

Coding & Algorithms
8
0
88 people solved
Jul 13, 2026
Upstart logo
Upstart
Medium
Software Engineer

Sum Multiples of Three, Five, or Seven

Sum Multiples of Three, Five, or Seven Implement sum_multiples(limit). Return the sum of all distinct positive integers strictly less than limit that ...

Coding & Algorithms
4
0
31 people solved
Jul 27, 2026
DoorDash logo
DoorDash
Medium
Data Scientist

Diagnose a Decline in Order Acceptance Rate

Diagnose a Decline in Order Acceptance Rate The order acceptance rate on a delivery marketplace has decreased. Describe how you would determine whethe...

Analytics & Experimentation
9
0
75 people solved
Jul 19, 2026
OpenAI logo
OpenAI
Medium
Software Engineer

Count Machines and Recover a Distributed Tree Topology

Count Machines and Recover a Distributed Tree Topology A cluster's machines form a rooted tree. Design a protocol that returns the number of machines ...

Software Engineering Fundamentals
17
0
203 people solved
Jul 3, 2026
Coinbase logo
Coinbase
Hard
Software Engineer

Extend a Banking Interface with Scheduled Payments and Account Merges

Extend a Banking Interface with Scheduled Payments and Account Merges You maintain an in-memory banking service whose public interface already support...

Software Engineering Fundamentals
4
0
85 people solved
Jul 16, 2026
Scale AI logo
Scale AI
Easy
Backend Engineer

Build a CSV-to-JSON Classification Service

Build a CSV-to-JSON Classification Service Build a backend service in stages. First, an HTTP request supplies a server-visible CSV path and the servic...

Software Engineering Fundamentals
1
0
30 people solved
Jul 27, 2026
Amazon logo
Amazon
Medium
Software EngineerNew Grad

Organize a Product Initiative Across Stakeholders

Organize a Product Initiative Across Stakeholders Prompt Tell me about a time you brought structure to a product or project initiative that involved s...

Behavioral & Leadership
9
0
113 people solved
Jul 15, 2026
OpenAI logo
OpenAI
Medium
Software Engineer

Design an Online Chess Service from Launch to Scale

Design an Online Chess Service from Launch to Scale Design an online chess service. Players enter matchmaking, are paired into games, exchange legal m...

System Design
8
0
74 people solved
Jul 17, 2026
Citadel logo
Citadel
Easy
Frontend Engineer

Build a Real-Time Event Feed Dashboard

Build the state and component logic for a React event-feed dashboard. Styling is out of scope. A supplied stream exposes a subscription callback and e...

Software Engineering Fundamentals
4
0
37 people solved
Jul 24, 2026
Google logo
Google
Medium
Data Scientist

Measure Bird Species Segregation

You are a data scientist analyzing bird observations from a forest. The ecology team wants to know whether different bird species are spatially segreg...

Statistics & Math
81
0
1525 people solved
May 28, 2026
Upstart logo
Upstart
Medium
Software Engineer

Count Words in Lexicographic Order

Count Words in Lexicographic Order Implement word_counts(words) for a list of lowercase words. Return a list of (word, count) pairs sorted in ascendin...

Coding & Algorithms
3
0
29 people solved
Jul 27, 2026
OpenAI logo
OpenAI
Medium
Software Engineer

Design a Payment Lifecycle from Hold to Charge and Settlement

Design a Payment Lifecycle from Hold to Charge and Settlement Design a payment system whose main lifecycle is hold, charge, then settlement. A hold re...

System Design
2
0
21 people solved
Aug 1, 2026
Mercor logo
Mercor
Medium
Machine Learning Engineer

Design Work Orchestration for Machine-Learning Data Pipelines

Design Work Orchestration for Machine-Learning Data Pipelines Design an orchestration system for data-production workflows used by machine-learning te...

ML System Design
15
0
111 people solved
Jul 8, 2026
Databricks logo
Databricks
Hard
Software EngineerSenior+

Build a Constant-Time Snapshot Set Iterator

Build a Constant-Time Snapshot Set Iterator Design SnapshotSet, a set of integers whose iterators observe an immutable logical snapshot without copyin...

Coding & Algorithms
7
0
89 people solved
Jul 7, 2026
Upstart logo
Upstart
Medium
Software Engineer

Add Dramatic Punctuation to Text

Add Dramatic Punctuation to Text Implement add_drama(text). Preserve all whitespace exactly. For each maximal non-whitespace token, first replace ever...

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

Use a Fitted Line to Predict a Future Data Point

Use a Fitted Line to Predict a Future Data Point You receive observed points (x_i, y_i) and need to predict y for a future input x_future. Assume a pr...

Machine Learning
6
0
68 people solved
Jul 21, 2026
Amazon logo
Amazon
Medium
Software EngineerSenior+

Design a Personalized Weekly Deals Service

Design a Personalized Weekly Deals Service Design a service that ingests deals weekly from several pipelines. Each deal has a start and end time and c...

System Design
2
0
50 people solved
Jul 17, 2026
Databricks logo
Databricks
Hard
Software Engineer

Design a Key-Value Store with Hit Counting

Design a Key-Value Store with Hit Counting Design an in-memory key-value store together with a hit-counter capability. The phrase "hit counter" is amb...

Software Engineering Fundamentals
2
0
32 people solved
Jul 25, 2026