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
Gusto logo
Gusto
Medium
Data Scientist Locked

Define Product Health and Experiment Design

This question evaluates competency in product analytics and experimentation, covering metric framework design, trade-offs and guardrail selection for ...

Analytics & Experimentation
9
0
76 people solved
May 27, 2026
Moodys logo
Moodys
Medium
Software Engineer

Return Binary Search Tree Values in Ascending Order

Return Serialized BST Values in Ascending Order Implement ascendingBstValues(levelOrder) -> values. levelOrder is a JSON-compatible array containing s...

Coding & Algorithms
0
0
2 people solved
Jul 25, 2026
Spotify logo
Spotify
Easy
Machine Learning Engineer

Query Top Played Tracks Globally And By Country

Given a play_events table with columns user_id, track_id, timestamp, and country, write SQL to return the top N most played tracks globally and the to...

Data Manipulation (SQL/Python)
8
4
143 people solved
Jul 2, 2026
OpenAI logo
OpenAI
Hard
Software Engineer Locked

Aggregate Recent Message Events And Active Chats

Prepare for a stateful event aggregation coding prompt over chat events and active chats in a rolling five-minute window. The question is useful for d...

Coding & Algorithms
65
1
428 people solved
Jun 5, 2026
Voleon logo
Voleon
Medium
Software Engineer Locked

Advance Cyclic Ball Flips Efficiently

Determine ball colors after many synchronized marker moves around a circle, where marked positions flip before advancing. Derive an O(n + m) parity so...

Coding & Algorithms
3
0
20 people solved
Jun 26, 2026
Anthropic logo
Anthropic
Medium
Software EngineerSenior+ Locked

Prepare for a Frontier AI Recruiter Screen

This question evaluates mature judgment, technical leadership, communication, and the ability to articulate mission alignment along with layered risk ...

Behavioral & Leadership
30
0
223 people solved
May 12, 2026
Snowflake logo
Snowflake
Hard
Software Engineer

Design a Priority Task Executor with Duplicate Task IDs

Design a Priority Task Executor with Duplicate Task IDs Design an in-memory component with two operations: - addTask(taskId, priority, timestamp) reco...

Software Engineering Fundamentals
1
0
10 people solved
Jun 9, 2026
Netflix logo
Netflix
Hard
Software EngineerSenior+

Design Publisher Configuration Rules

Design a supply-side advertising configuration system that manages publisher-specific rules. A publisher may own many websites, mobile apps, channels,...

System Design
17
0
129 people solved
Apr 5, 2026
Versemedical logo
Versemedical
Medium
Software Engineer

Build a Paginated Provider Search Backend and React Filter UI

Build a Paginated Provider Search Backend and React Filter UI Implement a small full-stack search feature. A React page displays provider records from...

Software Engineering Fundamentals
1
0
9 people solved
Jul 1, 2026
Bloomberg logo
Bloomberg
Hard
Software EngineerSenior+

Detect Recent Duplicate Records with Bounded Memory

Detect Recent Duplicate Records with Bounded Memory A time-ordered stream contains records [id, text, title, timestamp]. Detect records whose exact (t...

Coding & Algorithms
2
0
23 people solved
Jul 1, 2026
Glean logo
Glean
Medium
Software Engineer Locked

Implement a Byte Pair Encoding (BPE) Tokenizer

This question evaluates practical understanding of tokenization algorithms and string processing, specifically the iterative merge-based approach used...

Coding & Algorithms
1
0
24 people solved
Jun 14, 2026
Waymo logo
Waymo
Medium
Data Scientist

Implement a Safe Average Function in Python

Write a Python function average(table) that returns the arithmetic mean of a list of numbers and returns 0 when the list is empty. Explain the functio...

Data Manipulation (SQL/Python)
4
0
43 people solved
Mar 14, 2026
Google logo
Google
Medium
Machine Learning Engineer Locked

Design a chatbot over structured and unstructured data

This question evaluates a machine learning engineer's ability to design end-to-end systems that integrate structured and unstructured data, testing co...

ML System Design
16
0
229 people solved
Feb 8, 2026
StackAdapt logo
StackAdapt
Easy
Software Engineer

Design a Recipe and Inventory Ordering Service

Design a Recipe and Inventory Ordering Service Scenario Design an object-oriented service with recipes, supplies, and orders. A recipe has a unique na...

Software Engineering Fundamentals
2
0
25 people solved
Apr 4, 2026
Rippling logo
Rippling
Medium
Software Engineer

Design a personalized news aggregator

Design a Google News-style personalized news aggregator. The system continuously collects articles from many third-party publishers by polling their A...

System Design
35
1
559 people solved
Apr 19, 2026
Amazon logo
Amazon
Medium
Software Engineer Locked

Design a Perishable-Goods Inventory and Location Tracking System

This system design question evaluates the ability to architect a location-tracking and inventory service for perishable goods across a distributed ret...

System Design
4
0
57 people solved
Jun 13, 2026
Optiver logo
Optiver
Medium
Software Engineer

Design a balloon stability tracker

Implement a class BalloonFestival to manage hot-air balloons and wind fields over time, and to report rewarded balloons at inspection times. Methods a...

Coding & Algorithms
66
0
735 people solved
Sep 6, 2025
Fora Travel logo
Fora Travel
Medium
Software Engineer

Design Travel Page Data APIs

A travel advisory company is launching a customer-facing product experience for browsing and requesting travel services. You are given mockups for thr...

Software Engineering Fundamentals
5
0
74 people solved
Apr 6, 2026
Pinterest logo
Pinterest
Medium
Software Engineer

Settle debts with minimal transactions

You are given a list of debts among a set of people, expressed as triples (debtor, creditor, amount) (equivalently (payer, payee, amount)), where each...

Coding & Algorithms
36
0
366 people solved
Sep 6, 2025
Two Sigma logo
Two Sigma
Medium
Software Engineer Locked

Design GenAI Fine-Tuning and Agent Tradeoffs

This question evaluates competency in generative AI fine-tuning techniques and production agent architecture, including trade-offs among full-precisio...

ML System Design
7
0
114 people solved
May 9, 2026