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
Microsoft logo
Microsoft
Medium
Software Engineer

Minimize Fuel Cost Across Cities

Minimize Fuel Cost Across Cities Problem Hackerland has g_nodes cities numbered from 1 through g_nodes and bidirectional roads. Road i connects g_from...

Coding & Algorithms
0
0
10 people solved
Aug 3, 2026
OpenAI logo
OpenAI
Hard
Software Engineer Locked

Design a Payment Processing System with Exactly-Once Charging

This question evaluates a candidate's ability to design a payment system that guarantees exactly-once charging under network failures, retries, and du...

System Design
30
0
352 people solved
Jun 26, 2026
Coreweave logo
Coreweave
Medium
Software Engineer

Design a Website Monitoring Service

Design a website monitoring service that checks customer websites, detects outages or high latency, and alerts users when their sites fail health chec...

System Design
18
0
154 people solved
Jul 2, 2026
Together logo
Together
Medium
Software Engineer

Schedule GPU Pods and Drain a Node

Problem Implement schedule_gpu_nodes(nodes, request_gpus, delete_name). Each node is {name, gpus, running_pods} and each pod is {name, required_gpus}....

Coding & Algorithms
3
0
35 people solved
Jul 13, 2026
Hudson River Trading logo
Hudson River Trading
Hard
Software Engineer

Explain Large Memory Allocation, Swap, and C++ Inline Trade-offs

In a low-level C++ interview, explain what happens when a program requests 8 GB of memory on a machine with 4 GB of RAM, and discuss the purpose and d...

Software Engineering Fundamentals
25
0
192 people solved
Jul 2, 2026
Amazon logo
Amazon
Medium
Software EngineerSenior+

Discuss Challenges, Difficult Colleagues, and Multitasking

Discuss Challenges, Difficult Colleagues, and Multitasking Prepare responses to three behavioral questions. Use real examples, keep context concise, a...

Behavioral & Leadership
3
0
29 people solved
Jul 17, 2026
DoorDash logo
DoorDash
Medium
Data ScientistSenior+

Diagnose a One-Day Drop in Successful Deliveries

Prompt On one specific day, the number of successful deliveries in a large metropolitan market drops sharply. The alert is about the count, not the su...

Analytics & Experimentation
11
0
169 people solved
Jul 1, 2026
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
Cursor logo
Cursor
Hard
Software Engineer

Build a Streaming Markdown Code Fence Parser

Implement a streaming Markdown parser that recognizes inline code spans marked with backticks and fenced code blocks marked with triple backticks. The...

Software Engineering Fundamentals
30
0
274 people solved
Jul 2, 2026
Capital One logo
Capital One
Medium
Software Engineer

Arrange Match Results in Repeating Win-Draw-Loss Order

Arrange Match Results in Repeating Win-Draw-Loss Order You are given a string containing only W, D, and L. Rearrange all characters into rounds. In ea...

Coding & Algorithms
4
0
41 people solved
Jul 21, 2026
Netflix logo
Netflix
Medium
Software Engineer

Design Prefix-Aware Deduplication for Homepage Content Rows

Design Prefix-Aware Deduplication for Homepage Content Rows A homepage contains ordered rows of content IDs. Each row has its own ordered candidate li...

Software Engineering Fundamentals
1
0
12 people solved
Jul 31, 2026
Baseten logo
Baseten
Hard
Software Engineer

Build a Crash-Consistent Single-Server Key-Value Store

Build a Crash-Consistent Single-Server Key-Value Store Implement and explain a key-value store that runs in one server process and persists byte-strin...

Software Engineering Fundamentals
1
0
17 people solved
Jul 26, 2026
Bytedance logo
Bytedance
Medium
Data Scientist

Choose Ranking Functions, Customer Value Metrics, and Predictive Models

Choose Ranking Functions, Customer Value Metrics, and Predictive Models A global e-commerce team asks three connected fundamentals: distinguish SQL ra...

Machine Learning
0
0
9 people solved
Aug 3, 2026
Anthropic logo
Anthropic
Medium
Software Engineer Locked

Design a Distributed Rate Limiter

This question evaluates a candidate's ability to design distributed systems with globally consistent state across multiple servers. It tests system de...

System Design
33
0
419 people solved
Jun 23, 2026
Rippling logo
Rippling
Medium
Software Engineer

Design a News Aggregation Service

Design a News Aggregation Service Design a service that ingests articles from many news sources, normalizes and groups related coverage, and lets user...

System Design
1
0
20 people solved
Jul 22, 2026
Amazon logo
Amazon
Medium
Software EngineerSenior+

Design a Scalable Metrics Monitoring System

Design a Scalable Metrics Monitoring System Design a service that accepts application and infrastructure metrics, stores them over time, supports dash...

System Design
1
0
19 people solved
Jul 23, 2026
Netflix logo
Netflix
Medium
Software Engineer

Plan Eviction and Cleanup for a Production Cache

Plan Eviction and Cleanup for a Production Cache A process-local timed cache is correct for basic puts and gets, but it can still exhaust memory, reta...

Software Engineering Fundamentals
16
0
120 people solved
Jul 11, 2026
Amazon logo
Amazon
Medium
Software Engineer

Design a File Searcher With Symbolic Links

Design an in-memory file-system searcher. The file-system graph contains directories, regular files, and symbolic links. A query selects regular files...

Software Engineering Fundamentals
4
0
40 people solved
Jul 10, 2026
OpenAI logo
OpenAI
Medium
Machine Learning Engineer Locked

Implement 1NN with NumPy

This question evaluates implementing a 1-nearest-neighbor classifier with NumPy, testing skills in vectorized numerical computation, distance metrics,...

Machine Learning
282
3
2680 people solved
May 19, 2026
Bytedance logo
Bytedance
Easy
Software Engineer

Merge Overlapping Intervals

Merge Overlapping Intervals Implement merge_intervals(intervals) for a list of closed integer intervals. Each interval is [start, end] with start <= e...

Coding & Algorithms
1
0
19 people solved
Jul 22, 2026