Tech Interview Questions

Practice 9,581+ 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
Salesforce logo
Salesforce
Medium
Software Engineer

Delete One Character Type to Minimize Unique Segments

Problem Implement min_unique_segments_after_deletion(s) for a nonempty lowercase English string. Choose exactly one character value that appears in s ...

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

Generate Every Ordered Sum Using Ones and Twos

Generate every ordered string of ones and twos whose digit values sum to a target integer, with no duplicates and lexicographic output. The problem te...

Coding & Algorithms
17
1
99 people solved
Jun 17, 2026
Netflix logo
Netflix
Medium
Software Engineer

Count Pairs of Strings with Disjoint Character Sets

Count Pairs of Strings with Disjoint Character Sets Problem Implement countDisjointStringPairs(words) -> count. Count unordered index pairs (i, j) wit...

Coding & Algorithms
0
0
10 people solved
Jul 31, 2026
Ziprecruiter logo
Ziprecruiter
Easy
Machine Learning Engineer

Debug Feature Updates in a Laptop Management CLI

Debug Feature Updates in a Laptop Management CLI You are debugging a command-line laptop management system. Each laptop belongs to one or more users a...

Software Engineering Fundamentals
1
0
15 people solved
Jul 25, 2026
Airbnb logo
Airbnb
Hard
Software Engineer

Implement a Time-Aware Banking System

Implement a Time-Aware Banking System Design an in-memory banking component in four increments. It must create accounts, accept deposits, transfer fun...

Software Engineering Fundamentals
1
0
18 people solved
Jul 21, 2026
Figma logo
Figma
Medium
Software Engineer

Validate a Balanced INDENT and DEDENT Token Stream

Validate a Balanced INDENT and DEDENT Token Stream Problem A tokenizer has already converted a document into a sequence of tokens. Two token values ha...

Coding & Algorithms
1
0
18 people solved
Jul 21, 2026
Figma logo
Figma
Medium
Software Engineer

Design Permission-Aware Retrieval for Design Files

Design Permission-Aware Retrieval for Design Files Design a search system for a design-editing agent. Users and agents issue short queries, typically ...

System Design
1
0
18 people solved
Jul 21, 2026
Rippling logo
Rippling
Medium
Software Engineer Locked

Prevent Duplicate Payments Under High Load

This system design question tests a candidate's ability to reason about idempotency, distributed consistency, and fault tolerance in high-throughput p...

System Design
65
0
681 people solved
May 30, 2026
Stripe logo
Stripe
Medium
Software Engineer

Design a Superhero Dispatch System

Design the backend for a superhero rescue marketplace — a dispatch platform that connects civilians in distress with nearby superheroes. Civilians rep...

System Design
61
1
646 people solved
May 28, 2026
Cursor logo
Cursor
Medium
Software Engineer

Implement a Merkle Tree for Repository Contents

Implement a Merkle tree over the contents of a cloned repository. The tree should let a client and server compare repository state efficiently by exch...

Software Engineering Fundamentals
17
0
304 people solved
Jul 2, 2026
Jain Global logo
Jain Global
Medium
Data Engineer

Build a Self-Service Market Data Discovery and Support Layer

Build a Self-Service Market Data Discovery and Support Layer An analyst asks where to find Bloomberg company identifiers and the associated figures ne...

Software Engineering Fundamentals
1
0
14 people solved
Jul 26, 2026
Legora logo
Legora
Medium
Software Engineer

Design Direct File Uploads for a Chat Application

Design Direct File Uploads for a Chat Application Design file uploads for an existing chat application. Clients should upload file bytes directly to a...

System Design
0
0
8 people solved
Aug 3, 2026
Applied logo
Applied
Medium
Software Engineer

Evaluate Dependent Variable Assignments

Evaluate Dependent Variable Assignments Problem Implement evaluate_assignments(expressions). Each input string assigns one variable to a sum of intege...

Coding & Algorithms
0
0
8 people solved
Aug 3, 2026
Bytedance logo
Bytedance
Medium
Data Scientist

Find Each User's Earliest Seven-Day Activity Streak

Find Each User's Earliest Seven-Day Activity Streak Write one PostgreSQL SELECT statement or CTE query. Do not create, alter, or modify tables. Schema...

Data Manipulation (SQL/Python)
0
0
8 people solved
Aug 3, 2026
DoorDash logo
DoorDash
Medium
Software Engineer

Implement a Consistent Hash Ring

Implement a Consistent Hash Ring Design a consistent-hashing component that maps arbitrary keys to backend nodes and minimizes remapping when nodes ar...

Software Engineering Fundamentals
12
0
94 people solved
Jul 10, 2026
Amazon logo
Amazon
Medium
Software EngineerSenior+

Design a Threshold-Based Database Partition Rebalancer

Design a Threshold-Based Database Partition Rebalancer You are given database partitions and a size threshold. Oversized partitions should be split in...

Software Engineering Fundamentals
2
0
16 people solved
Jul 23, 2026
Anthropic logo
Anthropic
Hard
Software Engineer

Design a Prompt Sharing Product

Design a Prompt Sharing Product The source separately reports a product-design interview about prompt sharing, including user flow, database schema, s...

System Design
9
0
62 people solved
Jul 8, 2026
Pinterest logo
Pinterest
Hard
Machine Learning Engineer

Prevent Vanishing Gradients in Deep Networks

Prevent Vanishing Gradients in Deep Networks Clarifying Questions to Ask - Are we discussing feed-forward networks, recurrent networks, or both? - Sho...

Machine Learning
9
0
75 people solved
Jul 3, 2026
Amazon logo
Amazon
Easy
Software EngineerIntern

Find the Most Frequently Used Meeting Room

Find the Most Frequently Used Meeting Room Problem Implement mostBookedRoom(roomCount, meetings) -> roomId. Rooms are numbered 0 through roomCount - 1...

Coding & Algorithms
0
0
9 people solved
Aug 1, 2026
Amazon logo
Amazon
Easy
Software EngineerIntern

Find the Lowest Common Ancestor in a Binary Tree

Find the Lowest Common Ancestor in a Binary Tree Problem Implement lowestCommonAncestor(left, right, root, first, second) -> nodeId. The binary tree h...

Coding & Algorithms
1
0
9 people solved
Aug 1, 2026