Tech Interview Questions

Practice 9,224+ 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.16.2026
Showing 20 results
Role
Uber logo
Uber
Hard
Software Engineer Locked

Design Food Delivery Cart

This question evaluates a candidate's expertise in backend system design for transactional applications, covering competencies such as API design, dat...

System Design
11
0
76 people solved
Jan 26, 2026
Snapchat logo
Snapchat
Medium
Software Engineer

Design a metrics collection and alerting system

Design a metrics collection and alerting system (like a simplified monitoring platform). Functional requirements: - Collect time-series metrics from m...

System Design
2
0
56 people solved
Jan 26, 2026
Coinbase logo
Coinbase
Easy
Data Scientist

Evaluate campaign success and decide new trading pair

Context You are a Data Scientist at a crypto exchange. You work with Growth Marketing and Product to evaluate marketing spend and to make listing/laun...

Analytics & Experimentation
7
0
49 people solved
Sep 20, 2025
Glean logo
Glean
Hard
Software Engineer

Simulate document assignment to indexers

You are given a system with m parallel indexers (workers), numbered from 0 to m-1. Documents arrive over time and are placed in a processing queue. Ea...

Coding & Algorithms
35
0
362 people solved
Nov 19, 2025
Walmart Labs logo
Walmart Labs
Medium
Software Engineer

Provide self introduction, achievements, automation challenges, code quality, mentoring

Provide self introduction, achievements, automation challenges, code quality, mentoring Technical Screen: Behavioral and Leadership — Software Enginee...

Behavioral & Leadership
5
0
38 people solved
Jul 26, 2025
Tesla logo
Tesla
Medium
Software Engineer

Compare RDBMS and NoSQL trade-offs

Compare RDBMS and NoSQL trade-offs RDBMS vs. NoSQL: Compare and Recommend Context You are designing a production backend service and must choose betwe...

System Design
5
0
83 people solved
Jul 26, 2025
Tesla logo
Tesla
Medium
Software Engineer

Explain HTTP methods and your usage

Explain HTTP methods and your usage HTTP Methods, Idempotency, Safety, and Practical Use Context You design and consume RESTful APIs for high-throughp...

System Design
15
0
111 people solved
Jul 26, 2025
Coinbase logo
Coinbase
Medium
Software Engineer

Design order stream with state transitions

Design order stream with state transitions Implement an in-memory order stream service with operations: add(order), delete(order_id), pause(order_id),...

Coding & Algorithms
4
0
80 people solved
Jul 26, 2025
Anthropic logo
Anthropic
Hard
Software Engineer

Group Duplicate Files by Content

Group Duplicate Files by Content Given a snapshot of files, return groups of paths whose complete contents are identical. The interview report preserv...

Coding & Algorithms
0
0
6 people solved
Apr 16, 2026
Bytedance logo
Bytedance
Medium
Software Engineer Locked

Solve String Addition and Expression Evaluation

This question evaluates string manipulation and parsing skills for numeric computation, covering addition of integers represented as character arrays ...

Coding & Algorithms
5
0
37 people solved
Apr 16, 2026
Meta logo
Meta
Medium
Data Scientist Locked

Diagnose spend drops, bots, and Stories

This question evaluates a product data scientist's competencies in diagnostic product analytics, advertising measurement and attribution, bot and abus...

Analytics & Experimentation
3
0
30 people solved
Jan 25, 2026
Dropbox logo
Dropbox
Medium
Software Engineer

Describe surprising project learnings

Discuss a substantial project you worked on in depth. What was the most surprising finding during the project? What outcomes differed from your origin...

Behavioral & Leadership
6
0
57 people solved
Jan 25, 2026
Amazon logo
Amazon
Medium
Software EngineerSenior+ Locked

Design an Online Minesweeper Platform

This question evaluates competency in designing scalable, low-latency, real-time stateful systems, covering data modeling, API design, persistence, co...

System Design
4
0
46 people solved
Nov 17, 2025
Meta logo
Meta
Medium
Machine Learning Engineer Locked

Implement BST Iterator and Ticket Queue

This question evaluates understanding of binary search tree traversal and iterator design with amortized time and space analysis, as well as dynamic p...

Coding & Algorithms
2
0
41 people solved
Jan 24, 2026
Roblox logo
Roblox
Medium
Software Engineer

Implement a sliding-window rate limiter

Implement an in-memory sliding-window rate limiter. You are given a stream of requests, each with a timestamp in milliseconds. Part 1: Per-user limit ...

Coding & Algorithms
16
0
153 people solved
Jan 24, 2026
Amazon logo
Amazon
Medium
Software EngineerSenior+

Determine Whether a Binary Tree Is a Valid BST

Determine Whether a Binary Tree Is a Valid BST Problem Given a binary tree, determine whether the entire tree satisfies the strict binary-search-tree ...

Coding & Algorithms
0
0
4 people solved
Apr 15, 2026
Oscar logo
Oscar
Medium
Software Engineer

Design Telehealth Consultation Queue

Design a web-based queuing application for a health-insurance company that offers free 24/7 telehealth access to its members through a website and mob...

System Design
3
0
45 people solved
Apr 15, 2026
Meta logo
Meta
Hard
Software EngineerSenior+

Solve Subarray Sum and Local Minimum

Two coding problems were reported in the same phone-screen round: 1. Count target-sum subarrays. Given an integer array nums and an integer k, return ...

Coding & Algorithms
5
0
40 people solved
Apr 15, 2026
Harvey logo
Harvey
Medium
Software Engineer

Highlight Exact Source Matches

You are given a string text and a list of strings sources. For every exact occurrence of any string in sources within text, wrap the matched character...

Coding & Algorithms
2
0
29 people solved
Apr 15, 2026
TikTok logo
TikTok
Easy
Data Scientist

When prioritize precision vs recall

Context You are working on a product team and building (or evaluating) a binary classifier that triggers an action (e.g., show a warning, block conten...

Machine Learning
3
0
50 people solved
Nov 15, 2025