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

Design a rare-book lending and returns system

Design a rare-book lending and returns system System Design: Rare Books Circulation Across Multiple Branches Context Design a system to manage borrowi...

System Design
109
0
779 people solved
Jul 16, 2025
Shopify logo
Shopify
Medium
Machine Learning Engineer

Implement an interactive CLI class with tests

Design and implement a command-line interactive application as a single class using OOP principles. The program should support commands: add <key> <va...

Coding & Algorithms
10
0
173 people solved
Aug 13, 2025
Headway logo
Headway
Medium
Software EngineerSenior+ Locked

Explain a Challenging Project, Influence, and Mentorship

Build a coherent behavioral interview narrative spanning a challenging technical project, influence without authority, and mentorship. Clarify your ow...

Behavioral & Leadership
1
0
18 people solved
Jun 15, 2026
Confluent logo
Confluent
Hard
Software Engineer

Design a temporary email service

Design a Disposable Email Service with Auto-Expiring Addresses Design a receive-only disposable email service (e.g., 10‑minute inboxes) that issues au...

System Design
101
0
788 people solved
Jul 27, 2025
Uber logo
Uber
Medium
Software EngineerSenior+

Solve stock profit and vertical tree traversal

You have a 60-minute coding interview with two algorithm questions: 1) Max profit from one stock trade - Input: an integer array prices, where prices[...

Coding & Algorithms
13
0
136 people solved
Feb 9, 2026
Lyft logo
Lyft
Medium
Data Scientist Locked

Compute Commuter Ride Probabilities

This question evaluates competency in probability theory—specifically conditional probability, marginalization, Bayesian inversion, and expectation of...

Statistics & Math
12
0
104 people solved
May 28, 2026
Scale AI logo
Scale AI
Medium
Machine Learning Engineer

Debug ML pipeline and build text parser

You are in a hands-on, hour-long ML-engineering working session (Scale AI, Machine Learning Engineer loop). You are given a small ML project — data lo...

Data Manipulation (SQL/Python)
41
0
526 people solved
Sep 6, 2025
Google logo
Google
Medium
Software Engineer

Choose Your Workplace Style

You are taking a forced-choice workplace-style assessment for a Software Engineer role. Each item contains three positive statements. For each item: 1...

Behavioral & Leadership
13
0
109 people solved
Apr 12, 2026
Meta logo
Meta
Medium
Data Scientist

How should you evaluate unconnected content?

A social media platform has launched a feed feature that increases the share of unconnected content, meaning posts from creators who do not have an ex...

Analytics & Experimentation
14
0
141 people solved
Apr 5, 2026
Optiver logo
Optiver
Hard
Software Engineer

Design a subscription push service

Design a subscription push service Object-Oriented Design: Publish/Subscribe Notification Service Design an object-oriented publish/subscribe notifica...

System Design
89
0
644 people solved
Jul 17, 2025
Pinterest logo
Pinterest
Medium
Software Engineer Locked

Design an ads event reporting system

This question evaluates a candidate's ability to design scalable, reliable event ingestion and analytics systems, testing competencies in distributed ...

System Design
40
0
276 people solved
Jan 22, 2026
Brex logo
Brex
Hard
Software Engineer

Design Points-from-Transactions Service

Design a Scalable Loyalty Points Service (USD → Points at 1 USD = 1.5 Points) You are designing a service that awards loyalty points for purchase tran...

System Design
65
0
477 people solved
Aug 14, 2025
Two Sigma logo
Two Sigma
Easy
Data Scientist

Match readings with latest same-city humidity

Problem You are given two time-sorted lists of sensor readings: - Temperature records: (time, city, reading) - Humidity records: (time, city, reading)...

Coding & Algorithms
14
1
161 people solved
Dec 15, 2025
OpenAI logo
OpenAI
Hard
Machine Learning Engineer

Debug a broken Transformer implementation

You are given a small Transformer model implementation (e.g., in PyTorch) plus a tiny training script. The code executes, but the model does not match...

Machine Learning
171
0
1212 people solved
Jan 21, 2026
Capital One logo
Capital One
Medium
Software Engineer

Design a highly reliable account balance system

Scenario You are designing a backend service that stores and updates user account balances (like a wallet/bank ledger). The system must be highly reli...

System Design
43
0
300 people solved
Dec 25, 2025
Google logo
Google
Medium
Data ScientistSenior+

How would you use propensity score matching here

You want to estimate the causal effect of a new recommender feature on 7-day retention. The feature was not randomized: users “opt in” after seeing a ...

Analytics & Experimentation
19
0
152 people solved
Nov 24, 2025
Bytedance logo
Bytedance
Medium
Software Engineer Locked

Elements Occurring More Than n/3 Times in a Sorted Array

This question evaluates a candidate's ability to design frequency-counting algorithms over sorted arrays, testing knowledge of majority-element patter...

Coding & Algorithms
1
0
12 people solved
Jun 24, 2026
Harvey logo
Harvey
Hard
Software Engineer

Design a production file storage service

System Design: Production-Grade File Storage Service Problem Design a production-grade file storage service with the following APIs, semantics, and co...

System Design
82
0
884 people solved
Sep 6, 2025
DoorDash logo
DoorDash
Medium
Software Engineer

Implement dasher active-time calculator

Implement a function that, given a dasherId, a local pay-period interval [startLocalDateTime, endLocalDateTime), and a list of order events of the for...

Coding & Algorithms
33
0
322 people solved
Sep 6, 2025
OpenAI logo
OpenAI
Medium
Data Scientist Locked

Implement NumPy neural-network layers

This question evaluates competency in implementing neural-network layers and array algebra in NumPy, including matrix multiplication, broadcasting rul...

Machine Learning
42
0
346 people solved
Feb 18, 2026