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

Design multi-tab browser history and trade-offs

Design: Multi-Tab Browser History Context: Extend a single-tab browser-history component into a multi-tab manager that supports opening/closing tabs, ...

System Design
32
0
321 people solved
Sep 6, 2025
SIG (Susquehanna) logo
SIG (Susquehanna)
Easy
Data Scientist

Determine roles from B's accusation

Knights and Knaves: Single Statement Inference You meet two islanders, A and B. Each person is either a knight (always tells the truth) or a knave (al...

Statistics & Math
8
0
61 people solved
Sep 6, 2025
TikTok logo
TikTok
Hard
Machine Learning Engineer

Walk through resume under pressure and critique

Question Walk me through four significant projects on your resume. For each project, cover: 1. Problem, context, and constraints — the user/business p...

Behavioral & Leadership
8
0
70 people solved
Sep 6, 2025
Meta logo
Meta
Hard
Software Engineer

Design an in-memory cloud storage system

In-Memory Cloud Storage Service (Take-home) Design and implement an in-memory cloud storage service that maps files (objects) to their metadata. The s...

System Design
17
0
242 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
Meta logo
Meta
Hard
Software Engineer

Design a real-time messenger

Question Design a real-time messaging system (a Messenger/WhatsApp-style product) that supports 1:1 and group chats. Walk through requirements, the AP...

System Design
8
0
65 people solved
Sep 6, 2025
Stripe logo
Stripe
Medium
Software Engineer

Describe adapting quickly to unfamiliar problems

Behavioral & Leadership: Delivering Under Pressure, Learning Quickly, and Communicating Clearly Context: You are interviewing for a software engineeri...

Behavioral & Leadership
7
0
53 people solved
Sep 6, 2025
Amazon logo
Amazon
Medium
Software Engineer

Design a reusable web dialog component

You are building a UI component library for a web application and are asked to design and implement a reusable dialog (modal) component. Requirements ...

Software Engineering Fundamentals
2
0
44 people solved
Oct 31, 2025
Instacart logo
Instacart
Medium
Software Engineer

Implement bus route simulation features

Bus Route Simulation – Boarding, Capacity, and Priority Passes You are given a partially implemented codebase for simulating bus routes in a city. Bus...

Coding & Algorithms
61
0
436 people solved
Oct 31, 2025
J.P. Morgan logo
J.P. Morgan
Easy
Software Engineer

Describe a proud project and conflict

In a behavioral interview, be prepared to discuss your previous work experience, one project you are especially proud of, and a time you had a conflic...

Behavioral & Leadership
5
0
69 people solved
Mar 10, 2026
Meta logo
Meta
Medium
Data Scientist

Describe leadership and collaboration examples

For a Meta Data Scientist, Product Analytics interview, answer the following behavioral questions using concrete examples. For each one, explain the b...

Behavioral & Leadership
3
0
38 people solved
Mar 10, 2026
LinkedIn logo
LinkedIn
Medium
Data Scientist

How to analyze Simpson's paradox

A marketing team wants to evaluate a new email campaign. Two email versions, A and B, were tested over two weeks in two cities: San Francisco and New ...

Analytics & Experimentation
7
0
69 people solved
Sep 5, 2025
OpenAI logo
OpenAI
Medium
Software Engineer

Simulate turn-based monster team battle

Design an object-oriented model and implement the core battle logic for a turn-based fight between two teams of monsters. The system should simulate t...

Coding & Algorithms
135
1
1099 people solved
Oct 30, 2025
Two Sigma logo
Two Sigma
Hard
Data Scientist

Slopes of y-on-x vs x-on-y Regression: Relationship and When They Are Equal

You fit two simple ordinary least squares (OLS) regressions, each with an intercept, on the same paired dataset $(x_i, y_i)$ for $i = 1, \dots, n$: 1....

Machine Learning
5
0
40 people solved
Nov 28, 2025
ZipHQ logo
ZipHQ
Medium
Software Engineer

Find flush and straight groups in cards

You are given an array of strings cards, where each string represents a distinct playing card. Each card string has the format <rank><suit>: - rank is...

Coding & Algorithms
43
0
303 people solved
Nov 28, 2025
Uber logo
Uber
Medium
Software Engineer Locked

Solve BST and Grid Query Problems

This question evaluates understanding of binary search tree order-statistics and grid reachability under threshold constraints, testing competencies i...

Coding & Algorithms
5
0
42 people solved
Apr 19, 2026
Bytedance logo
Bytedance
Easy
Data Scientist Locked

Explain train-test generalization gap

This question evaluates understanding of model generalization and diagnostic competence within Machine Learning and Data Science, covering overfitting...

Machine Learning
5
0
46 people solved
Mar 9, 2026
OpenAI logo
OpenAI
Medium
Machine Learning Engineer Locked

Track Expiring GPU Credits

This question evaluates event-replay and time-window accounting skills, including temporal data structures, priority-based consumption, out-of-order e...

Coding & Algorithms
16
0
142 people solved
Mar 9, 2026
OpenAI logo
OpenAI
Medium
Machine Learning Engineer Locked

Simulate Turn-Based Monster Battles

This question evaluates the ability to implement a turn-based battle simulation with correct state management, turn semantics, knockout handling, dama...

Coding & Algorithms
14
0
116 people solved
Mar 9, 2026
LinkedIn logo
LinkedIn
Medium
Software Engineer

Design a max-stack with efficient operations

Design a max-stack with efficient operations Design a stack that supports push (x), pop(), top(), peekMax(), and popMax(). The popMax operation must r...

Coding & Algorithms
8
0
71 people solved
Aug 8, 2025