Tech Interview Questions

Practice 9,581+ interview questions from top companies including Google, Meta, Amazon, and more. Filter by company, role, and category.

Popular Interview Questions

Interview Questions

Practice the exact questions companies are asking right now.

9.6k Questions 505 Companies08.05.2026
Showing 20 results
Role
Nuro logo
Nuro
Easy
Data Engineer

Compute unique duration by merging intervals

Problem You have an autonomous-driving clip dataset where each row represents a time interval from a driving run. Table: clips | column | type | descr...

Data Manipulation (SQL/Python)
7
0
82 people solved
Jul 8, 2025
Morningstar logo
Morningstar
Easy
Data Scientist Locked

Explain a stochastic process simply

Statistics interview prompt testing the ability to explain stochastic processes in plain language, including intuition, examples, difference from a si...

Statistics & Math
3
0
25 people solved
Jul 5, 2025
Amazon logo
Amazon
Medium
Product Manager

Communicating Top-Down Change

Communicating Top-Down Change Across an Operations Organization A VP has mandated an operations-wide initiative to improve safety, increase efficiency...

Behavioral & Leadership
9
0
48 people solved
Jul 4, 2025
Meta logo
Meta
Medium
Product Manager

Behavioral Stories: Technical Depth, Data Experimentation, Failure

Behavioral Stories: Technical Depth, Experimentation, and Learning From Failure Prepare three onsite behavioral stories for a Product Manager role on ...

Behavioral & Leadership
9
0
50 people solved
Jul 4, 2025
Meta logo
Meta
Hard
Product Manager

Google–Roomba Acquisition Strategy

Acquisition Strategy Case: Should Google Acquire iRobot and Roomba? Assume you are evaluating a hypothetical acquisition of iRobot, the maker of Roomb...

Product / Decision Making
7
0
40 people solved
Jul 4, 2025
Amazon logo
Amazon
Medium
Product Manager

Hotel Keycard System Design

Product and System Design: Replace Hotel Metal Keys With Electronic Keycards A hotel chain currently uses traditional metal keys and wants to migrate ...

Product / Decision Making
9
0
36 people solved
Jul 4, 2025
Meta logo
Meta
Hard
Product Manager

Meta Product Design Trio

Product Strategy and MVP Prompt: Three Product Design Scenarios You are interviewing for a PM role. For each scenario below, craft a product strategy ...

Product / Decision Making
10
0
37 people solved
Jul 4, 2025
DoorDash logo
DoorDash
Easy
Data Scientist Locked

Design a Top Dasher experiment with interference

Practice designing an interference-aware experiment for a Top Dasher incentive program in a delivery marketplace. The solution covers goal setting, zo...

Analytics & Experimentation
10
0
79 people solved
Jul 1, 2025
Snapchat logo
Snapchat
Medium
Machine Learning Engineer

Find Shortest Clear Grid Path

Given an n x n binary grid, where 0 means open and 1 means blocked, return the length of the shortest clear path from the top-left cell to the bottom-...

Coding & Algorithms
3
0
34 people solved
Jun 28, 2025
Anthropic logo
Anthropic
Medium
Software Engineer

Find the Slowest Function from Profiler Events

You are given a time-ordered profiler event log for a single-threaded program. Each event is one of: - START functionName timestamp: execution enters ...

Coding & Algorithms
1
0
14 people solved
Jun 17, 2025
xAI logo
xAI
Easy
Software Engineer

Design a Fixed-Capacity Least-Recently-Used Cache

Design a Fixed-Capacity Least-Recently-Used Cache Design and implement a cache with a fixed maximum capacity that evicts the least recently used entry...

Coding & Algorithms
0
0
6 people solved
Jun 7, 2025
xAI logo
xAI
Hard
Machine Learning Engineer

Greedy Longest-Match Tokenizer for an LLM Data Pipeline

You are building a text pre-processing step for a large-language-model training pipeline. Before raw text can be fed into the model, it must be split ...

Coding & Algorithms
0
0
3 people solved
May 30, 2025
OpenAI logo
OpenAI
Hard
Machine Learning Engineer

Implement in-memory database insert and delete operations

Design and implement a simple in-memory database (key-value store) that supports the following operations: - insert(key, value): Insert a key-value pa...

Coding & Algorithms
12
0
170 people solved
Apr 6, 2025
Google logo
Google
Medium
Data ScientistIntern Locked

Find Longest Increasing Continuous Subarray

Solve the longest increasing contiguous subarray problem in one pass. Includes Python code, edge cases, complexity, and a follow-up for returning the ...

Coding & Algorithms
4
0
43 people solved
Mar 27, 2025
Meta logo
Meta
Hard
Software Engineer

Compute tree right view and target-sum subarrays

You are given two separate programming tasks. --- Task 1: Right-side view of a binary tree You are given the root of a binary tree. Imagine standing o...

Coding & Algorithms
3
0
28 people solved
Mar 23, 2025
Glean logo
Glean
Medium
Machine Learning Engineer

Determine Reachability in Train Schedule

You are given a train schedule represented as a list of train routes. Each route is a list of station names, where the element at index t is the stati...

Coding & Algorithms
17
0
133 people solved
Feb 7, 2025
Nuro logo
Nuro
Hard
Backend Engineer

Implement BFS and a Job Scheduler

The interview report described two coding questions: grid reveal with BFS and a concurrent periodic job scheduler. Constraints & Assumptions - For the...

Coding & Algorithms
8
0
82 people solved
Feb 4, 2025
Google logo
Google
Medium
Data EngineerIntern

Count Special Index Pairs

Given an integer array nums of length n, count the number of index pairs (i, j) such that: - 0 <= i < j < n - nums[i] * nums[j] is even - j - i is odd...

Coding & Algorithms
2
0
39 people solved
Jan 26, 2025
OpenAI logo
OpenAI
Medium
Software Engineer Locked

Implement IPv4 and CIDR iterators

This question evaluates understanding of IPv4 addressing and CIDR notation, along with competency in binary/bitwise arithmetic, iterator construction,...

Coding & Algorithms
12
0
128 people solved
Jan 10, 2025
Google logo
Google
Easy
Data Scientist

Count super-streak segments in an event stream

You are given a time-ordered sequence of events. Each event has: - type, a string or integer event type. - ts, an integer timestamp in milliseconds or...

Coding & Algorithms
11
0
91 people solved
Jan 2, 2025