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

Count Grid Paths Without Three Consecutive Moves

Count Paths Without Three Consecutive Moves A frog starts at (0, 0) and must reach (right_steps, up_steps). Every move is exactly one unit right (R) o...

Coding & Algorithms
1
0
21 people solved
Jul 28, 2026
Google logo
Google
Medium
Software EngineerNew Grad Locked

Search a Pattern Across the Leaf Text of a Binary Tree

Search for a pattern across the left-to-right concatenation of binary-tree leaf strings, including matches that cross leaf boundaries. This algorithm ...

Coding & Algorithms
19
1
156 people solved
Jun 17, 2026
Uber logo
Uber
Medium
Software EngineerIntern

Kth Employee Reached in an Ordered Hierarchy

Kth Employee Reached in an Ordered Hierarchy Implement kth_recipients(boss, queries). Employees are numbered 0 through n - 1. boss[0] == -1; for every...

Coding & Algorithms
11
0
154 people solved
Jul 3, 2026
Roblox logo
Roblox
Easy
Software Engineer

Present Your Background, Project, and Role Expectations

Present Your Background, Project, and Role Expectations Scenario In a recruiter screen for a software engineering role, you are asked to introduce you...

Behavioral & Leadership
1
0
13 people solved
Aug 3, 2026
Replit logo
Replit
Medium
Software Engineer

Design a Multi-Channel Notification System

Design a Multi-Channel Notification System Design a system that accepts notification requests and delivers them through configured channels such as in...

System Design
1
0
13 people solved
Aug 3, 2026
OpenAI logo
OpenAI
Medium
Software Engineer

Return the Lexicographically Smallest Topological Order

Return the Lexicographically Smallest Topological Order Problem Implement topologicalOrder(nodeCount, edges) -> order. The directed graph contains nod...

Coding & Algorithms
2
0
16 people solved
Aug 1, 2026
Cursor logo
Cursor
Medium
Software Engineer

Design Versioned IDE Settings for Users and Teams

Design a service that stores IDE settings for both users and teams. A team can push settings to its members, while users may also have personal settin...

System Design
6
0
57 people solved
Jul 12, 2026
Anthropic logo
Anthropic
Medium
Software Engineer

Design a Resilient Chat System

Design a Resilient Chat System Design a chat system and trace data end to end through its components. Support direct and group conversations, message ...

System Design
3
0
58 people solved
Jul 11, 2026
Nuro logo
Nuro
Medium
Software Engineer

Maximize Revenue With Two Contiguous Delivery Routes

Problem Houses lie in a line. values[i] is the nonnegative payment for delivering to house i. Two delivery robots are available. Robot one can serve a...

Coding & Algorithms
2
0
26 people solved
Jul 24, 2026
Decagon logo
Decagon
Hard
Software Engineer

Add Nested Begin, Commit, and Abort Semantics to a Shopping Cart

Add Nested Begin, Commit, and Abort Semantics to a Shopping Cart An in-memory shopping cart already supports add(item), remove(item), and a pure disco...

Software Engineering Fundamentals
4
0
64 people solved
Jul 13, 2026
Reddit logo
Reddit
Medium
Software Engineer

Implement a Stateful Chatter Message Store

Implement a Stateful Chatter Message Store Design a Chatter class that can load multiple ordered batches of messages, save its current messages, retur...

Software Engineering Fundamentals
1
0
17 people solved
Jul 30, 2026
Databricks logo
Databricks
Hard
Software Engineer

Design a Music Playlist Service

Design a Music Playlist Service Design a service where users create playlists, add or remove tracks, reorder items, and retrieve a playlist in playbac...

System Design
2
0
24 people solved
Jul 25, 2026
Sig logo
Sig
Easy
Software Engineer

Design a Cash Register with Inventory and Profit Tracking

Design a Cash Register with Inventory and Profit Tracking Design an object-oriented cash-register system that manages inventory, completes sales, and ...

Software Engineering Fundamentals
1
0
12 people solved
Aug 3, 2026
Amazon logo
Amazon
Hard
Software EngineerSenior+

Explain BIOS and UEFI Firmware Mechanisms

Explain BIOS and UEFI Firmware Mechanisms Answer the following firmware and low-level systems questions. State assumptions about architecture and firm...

Software Engineering Fundamentals
3
0
40 people solved
Jul 15, 2026
Amazon logo
Amazon
Medium
Software EngineerNew Grad

Compute Edit Distance

Compute Edit Distance Given two strings, return the minimum number of single-character operations needed to transform the first string into the second...

Coding & Algorithms
41
1
345 people solved
Jul 15, 2026
Anthropic logo
Anthropic
Hard
Software Engineer

Design a prompt playground

Design a prompt playground for developers and prompt engineers. The product lets users write prompts, choose model settings, run prompts against AI mo...

System Design
332
1
3295 people solved
May 24, 2026
Anthropic logo
Anthropic
Hard
Software Engineer

Debug Python LRU Cache-Key Construction

Debug Python LRU Cache-Key Construction The source reports a Python LRU-cache bug in key construction from args and **kwargs but does not provide the ...

Software Engineering Fundamentals
17
0
121 people solved
Jul 8, 2026
DoorDash logo
DoorDash
Medium
Software Engineer

Design a Durable DAG Workflow for Order Refunds

Design a Durable DAG Workflow for Order Refunds An order that times out may need a refund. You are given a directed acyclic graph of refund steps and ...

Software Engineering Fundamentals
20
0
153 people solved
Jul 10, 2026
Ramp logo
Ramp
Hard
Software Engineer

Build a Resilient Chain of Clue-Driven HTTP Requests

Build a Resilient Chain of Clue-Driven HTTP Requests Implement or design a client that starts from one URL and follows a chain of HTTP responses. A su...

Software Engineering Fundamentals
3
0
56 people solved
Jul 18, 2026
Ramp logo
Ramp
Hard
Software Engineer

Design a Payment-Count Dashboard That Scales with Readers and Updates

Design a Payment-Count Dashboard That Scales with Readers and Updates Design a service that displays the total number of payments made on an administr...

System Design
6
0
50 people solved
Jul 18, 2026