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

Design GPU credit allocator

Design a GPU Credit Allocation System Design a GPU credit allocation system for a multi-tenant compute platform (for example, OpenAI's GPU infrastruct...

System Design
337
0
2556 people solved
Aug 4, 2025
Reddit logo
Reddit
Medium
Software Engineer Locked

Moderator System with Ranking, Communities, and Demotion

This question tests practical data structure design and object-oriented system modeling, requiring the implementation of a hierarchical moderator mana...

Coding & Algorithms
1
0
23 people solved
Jun 23, 2026
Anthropic logo
Anthropic
Medium
Software Engineer Locked

Time-Based Key-Value Store

This question evaluates the ability to design a data structure that supports versioned storage and efficient point-in-time lookups. It tests binary se...

Coding & Algorithms
1
0
9 people solved
Jun 23, 2026
Waymo logo
Waymo
Hard
Machine Learning EngineerSenior+ Locked

Design a Drop-off Spot Selector

This question evaluates expertise in ML-driven system design for safety-critical autonomous vehicle decisions, covering real-time decision-making, geo...

ML System Design
12
0
191 people solved
Mar 23, 2026
Apple logo
Apple
Medium
Software Engineer

Design a deck of cards with shuffle/draw

Object-Oriented Design + Randomness: A Deck of Cards Design an in-memory model of a standard 52-card playing deck. Your design will be exercised by cl...

Software Engineering Fundamentals
46
0
343 people solved
Mar 1, 2026
Two Sigma logo
Two Sigma
Hard
Data Scientist Locked

Predict Bike Dock Demand

This question evaluates a data scientist's competency in time-series demand forecasting, covering temporal target definition, temporal feature enginee...

Machine Learning
27
0
194 people solved
Mar 18, 2026
Jane Street logo
Jane Street
Hard
Machine Learning Engineer

Build a time-series forecasting model

Build a time-series forecasting model Forecast the Next H Steps for Time Series Context You are given one or more time series with timestamps and nume...

Machine Learning
44
0
529 people solved
Aug 1, 2025
J.P. Morgan logo
J.P. Morgan
Medium
Software Engineer Locked

Java Core Deep Dive: Concurrent Collections and Java 8 Features

This question evaluates a candidate's depth of knowledge of the Java standard library, covering thread-safety mechanics in concurrent collections and ...

Software Engineering Fundamentals
1
0
36 people solved
Jun 9, 2026
Decagon logo
Decagon
Medium
Software Engineer

Design a Single-Domain Chatbot

Design a chatbot system for a single enterprise customer and a single business domain. For example, the chatbot may answer support questions for one p...

ML System Design
26
0
291 people solved
Mar 9, 2026
Google logo
Google
Easy
Software Engineer Locked

Implement string formatting and request tracking tasks

This multi-part question evaluates string manipulation, numeric formatting, character-mapping validation under 180° rotation, and event-tracking/order...

Coding & Algorithms
29
0
247 people solved
Feb 11, 2026
Citadel logo
Citadel
Easy
Software Engineer Locked

Design stock price time-series store and query

This question evaluates system design skills for time-series data storage and querying, covering scalability, partitioning, indexing, event-time handl...

System Design
38
0
305 people solved
Jan 22, 2026
Confluent logo
Confluent
Medium
Software Engineer

Design an RSS News Feed Service

Design an RSS news feed service. The service lets users subscribe to RSS sources, ingests articles from those sources on a schedule, stores article me...

System Design
11
0
145 people solved
Apr 29, 2026
Waymo logo
Waymo
Easy
Data Scientist Locked

How predict vehicles’ turn direction at intersection?

This question evaluates a data scientist's competency in time-series intent prediction at intersections, including label definition under ambiguity, t...

Machine Learning
40
0
388 people solved
Jan 17, 2026
Citadel logo
Citadel
Medium
Data Scientist

Analyze Correlations and Generate Gaussians

You are interviewing for a quantitative data science role. Answer the following probability and simulation questions: 1. Let \(X\), \(Y\), and \(Z\) b...

Machine Learning
20
0
194 people solved
Feb 21, 2026
Pinterest logo
Pinterest
Medium
Data Scientist Locked

How would you evaluate a carousel launch?

This question evaluates a data scientist's skills in experimental design, product-metric specification, causal inference, and diagnostic analysis for ...

Analytics & Experimentation
50
0
315 people solved
Mar 10, 2026
Apple logo
Apple
Medium
Machine Learning Engineer

Implement permutations and image retrieval

The coding portion included several short exercises for a vision-focused ML role: 1. Given an array of distinct integers, return all possible permutat...

Coding & Algorithms
18
0
179 people solved
Mar 1, 2026
Google logo
Google
Medium
Software EngineerNew Grad

Design a restaurant waitlist system

You are implementing the waitlist system for a restaurant. Parties arrive over time, can cancel, and get seated when a table becomes available. Rules ...

Coding & Algorithms
109
2
1264 people solved
Mar 1, 2026
Whatnot logo
Whatnot
Medium
Software Engineer

Design A WhatsApp-Style Messaging System

Design a messaging system similar to WhatsApp. Users should send one-to-one and group messages, receive messages in near real time, and recover messag...

System Design
4
0
35 people solved
May 8, 2026
Waymo logo
Waymo
Medium
Data Scientist

Test Whether a Routing Experiment Reduced Pickup Time

An A/B test in San Francisco during July 2024 evaluates a new routing algorithm intended to reduce time to pickup. You have: `text df_users(user_id, v...

Analytics & Experimentation
2
0
41 people solved
Mar 14, 2026
OpenAI logo
OpenAI
Hard
Machine Learning Engineer

Analyze matrix multiplication complexity

In an ML coding interview, you're handed a PyTorch file and asked a series of complexity questions about the operations in it. One of them: Given two ...

Software Engineering Fundamentals
74
0
518 people solved
Feb 11, 2026