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

Design Tree Operations with DFS and BFS

Design an object-oriented tree class with several operations that require DFS and BFS traversal. Explain the node model, traversal APIs, and how you w...

Software Engineering Fundamentals
8
0
91 people solved
Jul 2, 2026
Google logo
Google
Medium
Software Engineer Locked

Sliding Window Average After Dropping the Largest Values

Compute one average per fixed-size sliding window after removing exactly the largest k values, counting duplicates separately. Support negative number...

Coding & Algorithms
18
1
141 people solved
May 23, 2026
Baseten logo
Baseten
Hard
Software Engineer

Parallelize Blocking API Calls with a Thread Pool

Parallelize Blocking API Calls with a Thread Pool An existing function loops over a list of inputs and calls a blocking API once per input. Replace th...

Software Engineering Fundamentals
1
0
11 people solved
Jul 26, 2026
Pinterest logo
Pinterest
Medium
Software Engineer

Select the Nearest Eligible Elevator

Select the Nearest Eligible Elevator You are given a list of elevators. Each elevator has a current integer floor and a state: "up", "down", or "idle"...

Coding & Algorithms
12
0
97 people solved
May 12, 2026
Asana logo
Asana
Medium
Software Engineer

Model and Solve a Rectangular Jigsaw Puzzle

Model and Solve a Rectangular Jigsaw Puzzle Design an object-oriented model for a rectangular jigsaw puzzle and outline an algorithm to solve it. Use ...

Software Engineering Fundamentals
10
0
83 people solved
Jul 2, 2026
Pinterest logo
Pinterest
Medium
Machine Learning Engineer

Design User and Item Embeddings from Long Histories

Design User and Item Embeddings from Long Histories Design an embedding system that represents users and visual-content items for retrieval or recomme...

ML System Design
7
0
86 people solved
Jul 2, 2026
xAI logo
xAI
Hard
Software Engineer

Design and Implement a URL Shortening Service

Design and implement a URL shortening service in a combined whiteboarding and implementation interview where AI assistance may be allowed. `hint Hint ...

System Design
13
0
134 people solved
Jul 3, 2026
Meta logo
Meta
Medium
Data Scientist

Evaluate a Live-Stream Group Notification Under Network Effects

Prompt A social travel app wants to add a notification: “Someone in one of your groups is live now.” The notification can increase attendance at live ...

Analytics & Experimentation
11
0
92 people solved
Jul 6, 2026
Anthropic logo
Anthropic
Medium
Software Engineer

Design Peer-to-Peer Model Distribution Under a Shared Link Cap

Design Peer-to-Peer Model Distribution Under a Shared Link Cap Design a system that distributes one large model artifact from a machine that already h...

System Design
2
0
19 people solved
Jul 15, 2026
Anthropic logo
Anthropic
Hard
Software Engineer

Build a Progressive Banking Ledger

Build a Progressive Banking Ledger The source reports the four feature stages but not exact ledger semantics. The APIs, event priorities, cashback tim...

Coding & Algorithms
2
0
37 people solved
Jul 8, 2026
Salesforce logo
Salesforce
Medium
Software Engineer

Maximal Square and Longest Increasing Subsequence

Problem Implement analyze(matrix, nums) and return [max_square_area, lis_length]. Part A: Maximal Square matrix is a rectangular grid containing only ...

Coding & Algorithms
1
0
28 people solved
Jul 9, 2026
Point72 logo
Point72
Hard
Software Engineer

Simulate a Deterministic Finite Automaton

Implement a deterministic finite automaton simulator for the alphabet {a, b}. The automaton has states numbered from 0 through stateCount - 1. The tra...

Coding & Algorithms
0
0
7 people solved
Aug 1, 2026
Walmart Labs logo
Walmart Labs
Medium
Data ScientistSenior+

Explain Transformer Components and Tree-Ensemble Trade-offs

Explain Transformer Components and Tree-Ensemble Trade-offs A technical discussion covers two foundations: how encoder and decoder components work in ...

Machine Learning
0
0
7 people solved
Aug 1, 2026
Gusto logo
Gusto
Medium
Software Engineer

Design an Extensible Tax Policy Engine

Design an Extensible Tax Policy Engine You already have a correct evaluator for one progressive-bracket policy. Design the surrounding tax engine so i...

Software Engineering Fundamentals
0
0
7 people solved
Aug 1, 2026
OpenAI logo
OpenAI
Medium
Software Engineer

Design an Asynchronous Text-to-Video Generation Service

Design an Asynchronous Text-to-Video Generation Service Design a service in which a user submits a text prompt, the system performs a long-running vid...

System Design
1
0
16 people solved
Jul 19, 2026
Stripe logo
Stripe
Medium
Software Engineer

Design an Idempotent Double-Entry Ledger

Design a ledger service that records financial transactions using double-entry accounting. Clients submit operations over an unreliable network and ma...

System Design
3
0
51 people solved
Jun 16, 2026
Vanta logo
Vanta
Medium
Software Engineer

Review and Debug an AI Chatbot

Review and Debug an AI Chatbot Review the design of an AI chatbot and propose improvements. Then explain how you would investigate reports of incorrec...

ML System Design
7
0
59 people solved
Jul 13, 2026
Mistral AI logo
Mistral AI
Medium
Machine Learning Engineer

Answer an LLM Systems Quick-Fire Interview

You are given a rapid-fire LLM systems interview. Be prepared to explain Transformer architecture, attention and masking, multi-head attention, normal...

Machine Learning
16
0
127 people solved
Jul 2, 2026
Figma logo
Figma
Medium
Data Scientist

Handle Cross-Functional Pushback on an Analysis

Tell me about a time a cross-functional partner pushed back on your analysis, metric, or recommendation. How did you understand the disagreement, test...

Behavioral & Leadership
2
0
29 people solved
Jul 14, 2026
Figma logo
Figma
Medium
Data Scientist

Clarify an Ambiguous Product Question and Define a Metric

A product partner asks, “Is this feature successful?” The request does not specify the user population, behavior, comparison, or decision. Walk throug...

Analytics & Experimentation
2
0
30 people solved
Jul 14, 2026