Tech Interview Questions

Practice 9,160+ 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.2k Questions 486 Companies08.11.2026
Showing 20 results
Role
DoorDash logo
DoorDash
Hard
Software Engineer

Design a notification system

System Design: Multi-Channel Notification Platform Context Design a multi-tenant notification platform that delivers messages across email, SMS, and m...

System Design
29
0
241 people solved
Sep 6, 2025
TikTok logo
TikTok
Medium
Software Engineer

Explain gap and project contributions

Behavioral/Technical Screen: Recent Work and Project Deep-Dive Context You are in a technical screen for a Software Engineer role. The interviewer wan...

Behavioral & Leadership
7
0
83 people solved
Sep 6, 2025
Snowflake logo
Snowflake
Medium
Software Engineer

Compute task order and layered execution

You have N tasks labeled 0..N-1 and prerequisite pairs (a, b) meaning task a must complete before task b can start. Return any valid execution order o...

Coding & Algorithms
8
0
126 people solved
Sep 6, 2025
Waymo logo
Waymo
Medium
Software Engineer Locked

Validate a Parent-Child Forest

This question evaluates understanding of graph theory concepts—specifically rooted trees, parent-child relationships, cycle detection, and node in-deg...

Coding & Algorithms
1
0
11 people solved
May 27, 2026
Google logo
Google
Medium
Software Engineer

Find the Longest Consecutive Path in a Binary Tree

Given a binary tree, return the length of the longest downward path where each child value is exactly one greater than its parent value. Nodes have va...

Coding & Algorithms
0
0
6 people solved
Apr 28, 2026
Amazon logo
Amazon
Medium
Software EngineerSenior+

Debug distributed-system performance problems

You are asked: “If a distributed system has a performance problem (latency/throughput regression), how would you approach it?” Describe a practical, s...

Software Engineering Fundamentals
5
0
75 people solved
Dec 17, 2025
Amazon logo
Amazon
Medium
Software EngineerSenior+

Design a replicated key-value store with quorums

Design a distributed system that replicates key–value pairs across multiple replicas. The interviewer wants to focus on replication, quorums, and fail...

System Design
9
0
87 people solved
Dec 17, 2025
Rippling logo
Rippling
Medium
Software Engineer

Design a Personalized News Feed Aggregator

Design a personalized news-feed system that ingests articles from many sources and builds a home feed. Users may follow topics and sources. A new user...

System Design
0
0
4 people solved
Apr 2, 2026
Two Sigma logo
Two Sigma
Hard
Data ScientistIntern Locked

Merge two sorted linked lists

This question evaluates proficiency with linked list data structures, pointer manipulation, in-place merging concepts, and algorithmic efficiency with...

Coding & Algorithms
4
0
51 people solved
Apr 2, 2026
Airbnb logo
Airbnb
Medium
Machine Learning Engineer Locked

Design photo and listing quality models

This question evaluates competency in machine learning product design and engineering, encompassing labeling strategy, feature engineering, model sele...

Machine Learning
11
0
119 people solved
Jan 5, 2026
Amazon logo
Amazon
Hard
Machine Learning EngineerSenior+

Prepare For An Applied Science Manager Project And Leadership Screen

Prepare for a phone screen for an applied science manager role. The interview includes a project deep dive on search ranking and a leadership section ...

Behavioral & Leadership
2
0
22 people solved
Feb 15, 2026
Peregrine logo
Peregrine
Medium
Software Engineer

Fetch, group, and print paginated activities

Fetch, group, and print paginated activities Given a paginated API that returns (totalCount, activities[]) for a requested page, implement code that i...

Coding & Algorithms
13
0
126 people solved
Aug 4, 2025
Atlassian logo
Atlassian
Hard
Software Engineer

Design a scalable tagging system

Design a scalable, multi-tenant tagging system that lets users attach multiple tags to arbitrary resources ("items") and query them efficiently. The s...

System Design
25
0
188 people solved
Aug 4, 2025
Google logo
Google
Medium
Software Engineer

Determine if a 14-tile hand is winning

You are given an integer array tiles of length 14 representing a Mahjong-like hand. Each integer is a tile value from 1 to 9 (single suit). You may re...

Coding & Algorithms
20
0
203 people solved
Mar 9, 2026
Apple logo
Apple
Medium
Software Engineer

Vertical Order Traversal of a Binary Tree

Vertical Order Traversal of a Binary Tree You are given the root of a binary tree. Return the vertical order traversal of its nodes' values — that is,...

Coding & Algorithms
1
0
15 people solved
Jun 30, 2026
Apple logo
Apple
Medium
Software Engineer

Convert a Roman Numeral to an Integer

Convert a Roman Numeral to an Integer Roman numerals are written with seven symbols, each with a fixed integer value: | Symbol | Value | |--------|---...

Coding & Algorithms
0
0
9 people solved
Jun 30, 2026
Nuro logo
Nuro
Medium
Software Engineer

Find gaps between intervals

You are given a list of integer intervals intervals, where each interval is represented as [start, end] (inclusive), and start <= end. Two intervals m...

Coding & Algorithms
14
0
221 people solved
Nov 9, 2025
Docker logo
Docker
Medium
Software Engineer Locked

Design a container image registry

This question evaluates a candidate's competency in designing large-scale distributed systems for artifact storage and delivery, including storage arc...

System Design
6
0
46 people solved
Feb 14, 2026
Amazon logo
Amazon
Hard
Machine Learning EngineerNew Grad

Implement Optimal Bucket Batching

You are given an array lengths of K document lengths and an integer G representing the number of available GPUs. A batch is assigned to one GPU, and e...

Coding & Algorithms
2
0
34 people solved
Apr 27, 2026
Bloomberg logo
Bloomberg
Medium
Software Engineer Locked

Design a fair event registration queue API

This question evaluates a candidate's ability to design an in-memory, FIFO event registration service using object-oriented design, testing knowledge ...

System Design
10
0
189 people solved
Dec 15, 2025