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

Find Shortest Unique Prefixes

This question evaluates string-processing skills and understanding of data structures for prefix management (e.g., tries), along with algorithmic effi...

Coding & Algorithms
2
0
14 people solved
Jun 18, 2026
Airbnb logo
Airbnb
Medium
Software Engineer Locked

Design a booking system

This question evaluates system design skills including distributed systems, data modeling, concurrency control, consistency models, API design, scalab...

System Design
72
0
715 people solved
Feb 12, 2026
Stripe logo
Stripe
Medium
Machine Learning EngineerSenior+

Normalize targets for multitask regression

You are training one machine learning model with a shared representation and two regression heads. Each example has two continuous labels: - Target A ...

Machine Learning
3
0
57 people solved
Apr 18, 2026
J.P. Morgan logo
J.P. Morgan
Medium
Software Engineer Locked

Architecture and Data-Scaling Trade-offs

This question evaluates a candidate's grasp of software architecture and database scaling trade-offs, covering microservices versus monolithic design ...

Software Engineering Fundamentals
1
0
29 people solved
Jun 9, 2026
OpenAI logo
OpenAI
Medium
Machine Learning Engineer Locked

Debug Transformer and Add KV Cache

This question evaluates debugging and implementation skills for transformer-based autoregressive language models, focusing on attention mechanics, pos...

Machine Learning
80
0
662 people solved
Feb 1, 2026
Anthropic logo
Anthropic
Medium
Software Engineer

Explain Anthropic motivation and leadership stories

Anthropic's non-technical loop for Software Engineers spans two distinct sessions: a Culture / values interview and a Hiring-Manager (HM) round that r...

Behavioral & Leadership
29
0
437 people solved
Feb 28, 2026
Rippling logo
Rippling
Hard
Software EngineerSenior+

Build Reliable Employee-Operations and Expense Intelligence Systems

Build Reliable Employee-Operations and Expense Intelligence Systems Design four connected capabilities: a tagged event counter for dashboards and bill...

System Design
0
0
11 people solved
May 1, 2026
Netflix logo
Netflix
Medium
Software Engineer

Design Rolling-Window Ad Frequency Capping

Design a frequency-capping service for an advertising platform. The ad platform receives ad requests for users and must decide whether a candidate ad,...

System Design
23
0
161 people solved
Apr 17, 2026
Nextdoor logo
Nextdoor
Medium
Software Engineer Locked

Design a Neighborhood Newsfeed System

This question evaluates a candidate's ability to design a scalable, privacy-preserving neighborhood social feed system, testing competencies in distri...

System Design
3
0
68 people solved
May 31, 2026
Amazon logo
Amazon
Easy
Software EngineerNew Grad

Answer Leadership and GenAI Behavioral Questions

Prepare structured behavioral interview answers for the following prompts. Use specific real experiences, quantify impact when possible, and be ready ...

Behavioral & Leadership
10
0
129 people solved
Nov 22, 2025
Capital One logo
Capital One
Medium
Software Engineer

Sort Matrix Diagonals By Their Values

Given an n x n matrix of lowercase letters, consider every diagonal that runs from bottom-left to top-right. There are 2n - 1 such diagonals. Assign e...

Coding & Algorithms
3
1
24 people solved
Jul 7, 2026
Two Sigma logo
Two Sigma
Easy
Data Scientist

Answer four core statistics questions

Problem set (timed) Answer the following four questions. 1) Covariance of order statistics Let \(X\) and \(Y\) be independent \(\mathrm{Unif}(0,1)\). ...

Statistics & Math
26
0
185 people solved
Dec 15, 2025
OpenAI logo
OpenAI
Hard
Software Engineer

Design a scalable payment system

Design a scalable payment system Design a scalable payment system. The system must support both peer-to-peer money movement between users and merchant...

System Design
73
0
524 people solved
Jul 15, 2025
OpenAI logo
OpenAI
Medium
Machine Learning Engineer Locked

Design Duplicate File Detection

This question evaluates system design and storage engineering skills, including scalable file-processing, efficient I/O and resource management, corre...

System Design
45
0
336 people solved
Apr 3, 2026
Uber logo
Uber
Medium
Machine Learning Engineer

Implement CLIP Contrastive Loss

Given a minibatch of paired image and text embeddings, implement the symmetric contrastive loss used in CLIP-style image-text representation learning....

Machine Learning
15
0
134 people solved
Apr 3, 2026
Meta logo
Meta
Medium
Data Scientist

Compare Shop and Web Ad Performance Without Overclaiming

Compare Shop and Web Ad Performance Without Overclaiming You have 28 days of daily ad data: `text ads_detail(advertiser_id, ad_id, ad_type, ad_objecti...

Analytics & Experimentation
2
0
24 people solved
May 22, 2026
Google logo
Google
Medium
Software Engineer Locked

Solve Three Array and Matrix Path Problems

This set of three problems evaluates algorithm design, complexity analysis, and data-structure reasoning across matrix path traversal, interval covera...

Coding & Algorithms
11
1
121 people solved
May 30, 2026
Bytedance logo
Bytedance
Medium
Software Engineer Locked

Prepare for a Senior Project Deep Dive Before Coding

Prepare a structured Bytedance behavioral interview answer for prepare for a senior project deep dive before coding. The prompt helps candidates frame...

Behavioral & Leadership
1
0
12 people solved
May 30, 2026
Optiver logo
Optiver
Easy
Data Scientist

Compute probabilities and expectations in random processes

This is a rapid-fire probability and expectation round: a sequence of short, self-contained brain-teasers solved on a whiteboard. The interviewer expe...

Statistics & Math
23
0
280 people solved
Nov 19, 2025
Asana logo
Asana
Medium
Software Engineer

Answer Manager Behavioral Prompts

In a hiring-manager interview, prepare concise STAR-style answers for the following prompts: 1. Describe a significant project you led or contributed ...

Behavioral & Leadership
18
0
154 people solved
Apr 2, 2026