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

Design API that aggregates three downstream APIs

You are given three existing HTTP JSON APIs owned by other backend services: - Service A: GET /service-a?user_id={id} → returns basic user profile dat...

System Design
25
0
387 people solved
Nov 4, 2025
Optiver logo
Optiver
Medium
Data Scientist

Compute expected coin flips to meet on octagon

Compute expected coin flips to meet on octagon Meeting Time on a Random Walk Around an Octagon Problem Two independent particles start at opposite ver...

Statistics & Math
4
0
78 people solved
Jul 17, 2025
Netflix logo
Netflix
Medium
Software Engineer

Demonstrate culture fit and deep dives

Demonstrate culture fit and deep dives Behavioral & Leadership Onsite: Culture Fit and Project Deep Dive (Software Engineer) Context You will be asses...

Behavioral & Leadership
17
0
190 people solved
Jul 17, 2025
Circle logo
Circle
Hard
Software Engineer

Design flight-price search service

Design flight-price search service System Design: Cheapest Flight Search Across Multiple Providers Context Design a backend system that searches multi...

System Design
18
0
172 people solved
Jul 17, 2025
OpenAI logo
OpenAI
Hard
Software Engineer Locked

Design a Retrieval-Augmented Generation (RAG) system

This question evaluates a candidate's ability to design production-grade Retrieval-Augmented Generation systems, testing competencies in information r...

ML System Design
6
0
103 people solved
Dec 15, 2025
Okta logo
Okta
Medium
Software Engineer

Build an Auth0-protected MCP server

Hands-on OA: Build an MCP server secured by Auth0 JWTs You are asked to build a local HTTP service that implements a minimal MCP (Model Context Protoc...

Software Engineering Fundamentals
26
0
202 people solved
Dec 15, 2025
Capital One logo
Capital One
Medium
Machine Learning Engineer

Answer leadership scenarios with STAR

Answer the following behavioral questions with specific examples from your experience: 1. How did you challenge the status quo? 2. Describe a time you...

Behavioral & Leadership
2
0
50 people solved
Dec 15, 2025
Amazon logo
Amazon
Medium
Machine Learning Engineer

Test whether two user populations differ

Problem You are given two groups of users: - Group A: North America users - Group B: Europe users Each user has a vector of continuous features (e.g.,...

Machine Learning
3
0
53 people solved
Dec 15, 2025
Imc logo
Imc
Medium
Software Engineer

Find k-th recipient in command propagation order

Chain of Command (k-th Receiver in DFS-by-Child-Id Order) A company org chart forms a rooted tree with n people (nodes), labeled 1..n. You are given a...

Coding & Algorithms
8
0
104 people solved
Dec 15, 2025
Uber logo
Uber
Hard
Data Scientist

Measure YouTube Ad Effectiveness

Uber is running marketing ads on YouTube and wants to understand whether the campaign creates incremental business value, not just whether users watch...

Analytics & Experimentation
2
0
26 people solved
Jan 29, 2026
LinkedIn logo
LinkedIn
Hard
Machine Learning Engineer

Design a scalable metrics monitoring system

Design a scalable metrics monitoring system Design a Metrics Monitoring System for Large-Scale Services Context You are designing a metrics monitoring...

System Design
6
0
93 people solved
Jul 16, 2025
Apple logo
Apple
Easy
Data Scientist

Write the logistic regression loss function

Write the logistic regression loss function Logistic Regression Loss Consider binary logistic regression. - Dataset: \(\{(\mathbf{x}_i, y_i)\}_{i=1}^n...

Statistics & Math
9
0
89 people solved
Jul 15, 2025
DoorDash logo
DoorDash
Medium
Software Engineer

Implement a simple service with tests

Implement a simple service with tests You're given a short written specification for a small service class (no external dependencies). Implement the c...

Coding & Algorithms
9
0
105 people solved
Jul 15, 2025
Point72 logo
Point72
Medium
Data Scientist

Find the Minimum in a Rotated Sorted Array

Find the Minimum in a Rotated Sorted Array A strictly increasing array of distinct integers has been rotated at an unknown pivot. Return its minimum v...

Coding & Algorithms
0
0
4 people solved
Dec 14, 2025
Point72 logo
Point72
Medium
Data Scientist

Maximum Profit with Unlimited Stock Transactions

Maximum Profit with Unlimited Stock Transactions Given daily stock prices, compute the maximum profit from any number of buy-and-sell transactions. Yo...

Coding & Algorithms
0
0
4 people solved
Dec 14, 2025
Cribl logo
Cribl
Medium
Software Engineer

Design an LLM Log Parsing Workflow

Design a production workflow that uses an LLM, optionally combined with deterministic parsers, to convert heterogeneous raw log messages into structur...

ML System Design
2
0
18 people solved
Jan 28, 2026
DoorDash logo
DoorDash
Easy
Software Engineer

How do you discuss mistakes and trade-offs?

Be prepared for both of the following prompts: 1. Tell me about a major mistake you made as a software engineer. Explain the situation, the impact,...

Behavioral & Leadership
11
0
114 people solved
Jan 28, 2026
Instacart logo
Instacart
Medium
Software Engineer

Explain your biggest project with trade-offs

Behavioral interview (Amazon-style). 1) Pick the biggest/most impactful project you worked on. Explain the problem, your role, the technical design, a...

Behavioral & Leadership
7
0
84 people solved
Jan 28, 2026
Meta logo
Meta
Hard
Machine Learning Engineer Locked

Simulate Monster Team Battles

This question evaluates a candidate's ability to model stateful simulations and implement deterministic battle mechanics with clean data structures an...

Coding & Algorithms
1
0
21 people solved
May 19, 2026
Amazon logo
Amazon
Medium
Software EngineerIntern Locked

Count Connected Components in an Undirected Graph

This question evaluates understanding of graph connectivity and cycle detection, measuring competency in reasoning about connected components and the ...

Coding & Algorithms
1
0
16 people solved
May 19, 2026