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
Visa logo
Visa
Medium
Software EngineerSenior+

Count Perfect Digit-Frequency Substrings

Count Perfect Digit-Frequency Substrings Problem Implement countPerfectSubstrings(s, k). The string s contains only decimal digits. A nonempty substri...

Coding & Algorithms
0
0
7 people solved
Aug 3, 2026
Pinterest logo
Pinterest
Medium
Software Engineer

Design a Distributed Rate-Limiting Service

Design a Distributed Rate-Limiting Service Design a rate-limiting service that protects APIs across many application instances. It should support per-...

System Design
3
0
73 people solved
Jul 2, 2026
Microsoft logo
Microsoft
Medium
Software EngineerSenior+ Locked

Design a Distributed Key-Value Store

This system design question evaluates the ability to architect a horizontally scalable distributed key-value store, covering data partitioning, replic...

System Design
33
0
236 people solved
Jun 11, 2026
OpenAI logo
OpenAI
Medium
Software Engineer

Implement a Recoverable In-Memory Key-Value Store

Implement a Recoverable In-Memory Key-Value Store Design and implement a single-process key-value store whose working set is held in memory and whose ...

Software Engineering Fundamentals
5
0
42 people solved
Jun 29, 2026
Google logo
Google
Easy
Software Engineer Locked

LLM Foundations: Architecture, Adaptation, and Steering

This question evaluates a candidate's conceptual understanding of large language model architecture, adaptation, and inference-time control. It probes...

Machine Learning
17
0
181 people solved
Jun 22, 2026
Two Sigma logo
Two Sigma
Medium
Software EngineerNew Grad

Allocate IPO Shares and Split a Weighted Tree

Two Allocation and Tree Problems Implement both independent parts. Part A - IPO Share Allocation Each bid is [user_id, requested_shares, price, timest...

Coding & Algorithms
2
0
43 people solved
Jun 28, 2026
Baseten logo
Baseten
Hard
Software Engineer

Design an LLM Inference Serving System

Design an LLM Inference Serving System Design a production system that serves inference requests for one or more large language models. Cover the requ...

ML System Design
1
0
12 people solved
Jul 26, 2026
Walmart Labs logo
Walmart Labs
Medium
Software Engineer

Design a Read- and Write-Heavy Product Catalog Service

Design a Read- and Write-Heavy Product Catalog Service Design a service in which merchants create and update product listings while users browse and v...

System Design
0
0
10 people solved
Jul 28, 2026
Meta logo
Meta
Medium
Software Engineer

Design a Concurrent, Memory-Bounded Tally Service

Design a Concurrent, Memory-Bounded Tally Service Design and implement the core of a TallyService with two operations: - bump(timestamp): record one e...

Software Engineering Fundamentals
4
0
50 people solved
Jul 1, 2026
Coreweave logo
Coreweave
Medium
Software Engineer

Design Tree Operations with DFS and BFS

Design an object-oriented tree class with several operations that require DFS and BFS traversal. Explain the node model, traversal APIs, and how you w...

Software Engineering Fundamentals
8
0
93 people solved
Jul 2, 2026
Ramp logo
Ramp
Medium
Software Engineer

Find a User's Airport at a Given Time from Flight Records

Given flight records with departure airport, departure time, arrival airport, arrival time, and user id, implement a function that returns where a giv...

Software Engineering Fundamentals
28
0
402 people solved
Jul 2, 2026
OpenAI logo
OpenAI
Medium
Machine Learning Engineer

Compute entropy and implement 1-NN

You are given two short ML coding problems from a machine-learning engineer screen. Both are implementation-focused but probe whether you understand t...

Machine Learning
116
1
1110 people solved
Apr 24, 2026
Shopify logo
Shopify
Medium
Software EngineerSenior+

Harden a URL-Caching HTTP Service for Production

Harden a URL-Caching HTTP Service for Production You inherit a working HTTP service that accepts URL-related requests and keeps cached URL records in ...

Software Engineering Fundamentals
3
0
32 people solved
Jul 7, 2026
Oscar logo
Oscar
Easy
Software EngineerSenior+

Design a Stateful Outreach Campaign Engine

Design an internal campaign engine that lets an agent select a custom subset of clients and start an outreach campaign for each selected client. For e...

System Design
2
0
21 people solved
Jul 14, 2026
Asana logo
Asana
Medium
Software Engineer

Navigate Challenges, Conflict, and Mentorship on a Major Project

Navigate Challenges, Conflict, and Mentorship on a Major Project Choose one substantial project that you personally helped deliver. Use concrete examp...

Behavioral & Leadership
2
0
43 people solved
Jul 16, 2026
OpenAI logo
OpenAI
Easy
Software EngineerSenior+

Explain Why You Want This Company and Infrastructure Role

Explain Why You Want This Company and Infrastructure Role Explain why you want to join the company and why an infrastructure-focused software engineer...

Behavioral & Leadership
5
0
58 people solved
Jul 16, 2026
xAI logo
xAI
Hard
Software Engineer

Design and Implement a URL Shortening Service

Design and implement a URL shortening service in a combined whiteboarding and implementation interview where AI assistance may be allowed. `hint Hint ...

System Design
13
0
135 people solved
Jul 3, 2026
Meta logo
Meta
Medium
Data Scientist

Evaluate a Live-Stream Group Notification Under Network Effects

Prompt A social travel app wants to add a notification: “Someone in one of your groups is live now.” The notification can increase attendance at live ...

Analytics & Experimentation
11
0
93 people solved
Jul 6, 2026
Amazon logo
Amazon
Medium
Software Engineer

Architect an AI Chatbot for Enterprise Users

Architect an AI chatbot for enterprise users over internal knowledge and tools. `hint Hint 1 Start by stating assumptions, then work from requirements...

System Design
13
0
129 people solved
Jul 1, 2026
Scale AI logo
Scale AI
Easy
Software Engineer AI

Design a Streaming Job Scheduler

Design and incrementally build a streaming job scheduler: a service (and supporting class) that continuously ingests tasks and dispatches them to work...

System Design
213
1
1862 people solved
Apr 9, 2026