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
Amazon logo
Amazon
Hard
Software Engineer Locked

Design a High-Availability Load Balancer

This question evaluates knowledge of distributed systems and load balancing principles, covering high-availability architecture for HTTP/HTTPS traffic...

System Design
19
0
185 people solved
May 9, 2026
Two Sigma logo
Two Sigma
Medium
Software Engineer Locked

Implement Price-Time Order Matching

This question evaluates understanding of limit-order book mechanics, priority-based matching, stateful stream processing, and data-structure managemen...

Coding & Algorithms
5
0
35 people solved
May 9, 2026
Amazon logo
Amazon
Medium
Software EngineerNew Grad

Design a pizza ordering system

Design the core object-oriented model for a pizza ordering system used by a small restaurant. The system should allow customers to: - browse a menu of...

Software Engineering Fundamentals
9
0
158 people solved
Oct 24, 2025
LinkedIn logo
LinkedIn
Medium
Machine Learning Engineer

Sample uniformly from a circle’s area

How would you generate a point (x, y) uniformly at random from the area of a circle of radius R centered at the origin? - Explain why naive choices (e...

Coding & Algorithms
16
0
122 people solved
Feb 18, 2026
Shopify logo
Shopify
Medium
Machine Learning Engineer

Design search autocomplete ML system

Design an ML-powered search autocomplete system that suggests query completions as the user types (e.g., after typing a prefix like "ipho" suggest "ip...

ML System Design
41
0
289 people solved
Feb 18, 2026
Google logo
Google
Hard
Software Engineer

Handle two teams duplicating work

If you discover that two different teams are independently working on the same project or solving the same problem, how would you handle the situation...

Behavioral & Leadership
9
0
184 people solved
Mar 6, 2026
Uber logo
Uber
Medium
Machine Learning EngineerSenior+

Present a Marketplace ML Project Deep Dive

In a Machine Learning Engineer interview for a pricing, marketplace, or growth team, present a recent representative ML project. Your deep dive should...

ML System Design
5
0
78 people solved
Apr 19, 2026
Google logo
Google
Hard
Software Engineer

Design distributed message queue service

Design a Distributed Message Queue Service Problem Statement Design a distributed message queue system that supports very high throughput for both pro...

System Design
32
0
244 people solved
Sep 6, 2025
Pinterest logo
Pinterest
Easy
Data Scientist Locked

How to evaluate a new Carousel feature

This question evaluates a data scientist's competence in experimentation design, measurement framework formulation, metric definition, and diagnostic ...

Analytics & Experimentation
9
0
121 people solved
Feb 1, 2026
Meta logo
Meta
Medium
Machine Learning Engineer Locked

Prevent Private Code Leakage in Coding Agents

This question evaluates competency in ML system design, data privacy and security, model training and inference safeguards, and mechanisms for detecti...

ML System Design
6
0
103 people solved
Apr 9, 2026
Amazon logo
Amazon
Medium
Software Engineer

Implement a Single-Node Priority Pub/Sub

Implement a simplified in-memory publish-subscribe system that runs on a single machine. The system should support users subscribing to topics with a ...

Software Engineering Fundamentals
3
0
62 people solved
Apr 9, 2026
Figma logo
Figma
Hard
Data Scientist

Describe your most and least engaging work

You are interviewing for a Data Scientist role. The hiring manager asks: What kinds of work have been the most engaging for you, and what kinds have b...

Behavioral & Leadership
16
0
166 people solved
Apr 9, 2026
Amazon logo
Amazon
Medium
Software Engineer

Design a Ride-Hailing Matching System

Design a ride-hailing matching system similar to a taxi or rideshare application (e.g. Uber, Lyft, DiDi). The interview focuses on the driver-location...

System Design
16
0
129 people solved
Apr 9, 2026
Microsoft logo
Microsoft
Medium
Machine Learning EngineerIntern

Design a RAG system with agentic tools

Design a Retrieval-Augmented Generation (RAG) question-answering system for an enterprise knowledge base. Requirements: - Users ask natural-language q...

ML System Design
13
0
194 people solved
Feb 9, 2026
Mercor logo
Mercor
Medium
Software Engineer

Define a one-way function and its uses

What is a one-way function (also called a one-direction function) in cryptography? Define it precisely and explain common uses in real systems (e.g., ...

Software Engineering Fundamentals
8
0
109 people solved
Jan 17, 2026
Rippling logo
Rippling
Medium
Software Engineer Locked

Implement an In-Memory File System

This question evaluates understanding of file-system abstractions, tree-based data structures, path parsing, and stateful directory and file managemen...

Coding & Algorithms
1
1
19 people solved
May 30, 2026
LinkedIn logo
LinkedIn
Medium
Software EngineerSenior+

Discuss Projects and Tradeoffs

You are asked to do a deep dive on two past software projects. For each project, explain: 1. The business or engineering problem. 2. Your exact role, ...

Behavioral & Leadership
7
0
62 people solved
Feb 16, 2026
Boston Consulting Group logo
Boston Consulting Group
Medium
Data Scientist

Transform and aggregate messy event data

Using pandas (vectorized; no loops), clean, combine, and aggregate the following to produce country/plan day-level metrics for 2025-08-31. DataFrames ...

Data Manipulation (SQL/Python)
13
0
228 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Software EngineerSenior+ AI

Design an Online Judge and Live Comments

The onsite included two system design prompts: 1. Design an online judge platform where users submit code for programming problems. The system must su...

System Design
24
0
171 people solved
Apr 8, 2026
Confluent logo
Confluent
Medium
Software EngineerSenior+

Search Words and Phrases in a Large Line-Oriented File

Search Words and Phrases in a Large Line-Oriented File A text file contains one sentence per line and may be much larger than memory. Design an API th...

Software Engineering Fundamentals
2
0
29 people solved
Jan 1, 2026