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 486 Companies08.11.2026
Showing 20 results
Role
eBay logo
eBay
Medium
Software Engineer Locked

Wildcard Dictionary Matching

This question evaluates a candidate's ability to design custom pattern-matching logic beyond simple substring or regex lookups, handling both fixed-le...

Coding & Algorithms
1
0
6 people solved
Jun 12, 2026
xAI logo
xAI
Hard
Software Engineer

Answer technical-challenge and motivation questions

Answer the following behavioral interview questions: 1) Describe the most technically challenging problem you have solved. What made it hard, what did...

Behavioral & Leadership
9
0
110 people solved
Feb 7, 2026
Nextdoor logo
Nextdoor
Hard
Software Engineer Locked

Simulate Transaction Lock Scheduling

This question evaluates understanding of concurrency control, lock scheduling, transaction state management, and queuing behavior in the Coding & Algo...

Coding & Algorithms
0
0
11 people solved
May 27, 2026
DoorDash logo
DoorDash
Medium
Data ScientistSenior+

How would you mentor junior teammates?

Question You are interviewing for a senior-level data science role at DoorDash. The interviewer asks: > As a senior, how would you mentor others (espe...

Behavioral & Leadership
15
0
119 people solved
Feb 28, 2026
Zipline logo
Zipline
Medium
Software Engineer

Design a Checkers Game Simulator

Design and partially implement an object-oriented simulator for a two-player checkers-like board game. Requirements: - The game is played on an 8 x 8 ...

Software Engineering Fundamentals
4
0
63 people solved
Mar 11, 2026
OpenAI logo
OpenAI
Medium
Machine Learning Engineer Locked

Design Real-Time Collaborative Editing

This question evaluates competence in distributed systems, real-time synchronization, concurrency control, data modeling, and automated conflict-resol...

System Design
11
0
176 people solved
Mar 11, 2026
Envoy logo
Envoy
Easy
Software Engineer

Design a shopping cart with coupons and tax

Design an object-oriented shopping cart module for an e-commerce system. Requirements: - A cart can add items and update item quantities. - The cart s...

Software Engineering Fundamentals
11
0
109 people solved
Mar 11, 2026
Hot Agent Startup logo
Hot Agent Startup
Medium
Software Engineer

Design Flight Booking and Voting Systems

Answer both system design prompts. Part A: Flight Ticket Booking System Design the backend for a flight ticket booking product. The system should supp...

System Design
2
0
28 people solved
Apr 3, 2026
Uber logo
Uber
Medium
Data ScientistNew Grad

Describe ownership and failure

Answer the following behavioral questions in a structured way, using specific examples from your past work or research: 1. Tell me about a time you we...

Behavioral & Leadership
11
0
99 people solved
Mar 22, 2026
Bytedance logo
Bytedance
Medium
Software Engineer Locked

Minimize Increments to Equalize Path Costs

This question evaluates understanding of tree data structures, root-to-leaf path aggregation, and cost-balancing strategies within the Coding & Algori...

Coding & Algorithms
4
0
27 people solved
May 12, 2026
Shopify logo
Shopify
Easy
Software Engineer

Simulate rover movement on a grid

You are building a rover navigation simulator. The exercise is incremental: you implement a single rover on a 2D grid, then extend the design to many ...

Coding & Algorithms
66
0
574 people solved
Jan 27, 2026
Whatnot logo
Whatnot
Medium
Machine Learning Engineer

Improve and debug the shopping app

You are evaluating a live-shopping mobile app from a product-minded engineering perspective. Answer the following as one integrated exercise: 1. What ...

System Design
13
0
156 people solved
Jan 17, 2026
Waymo logo
Waymo
Easy
Data Scientist Locked

Merge overlapping intervals per group in pandas

This question evaluates proficiency in time-series data manipulation and interval reasoning using pandas, including grouping, datetime handling, and i...

Data Manipulation (SQL/Python)
8
0
59 people solved
Jan 17, 2026
LinkedIn logo
LinkedIn
Easy
Data Scientist Locked

Handle imbalance, sampling, and overfitting

This question evaluates a data scientist's proficiency in machine learning topics including handling class imbalance, selecting and interpreting evalu...

Machine Learning
10
0
103 people solved
Feb 16, 2026
Bytedance logo
Bytedance
Hard
Software Engineer

Find the Minimum Number of Meeting Rooms

Find the Minimum Number of Meeting Rooms You are given meeting intervals [start, end], where start < end. A room can host at most one meeting at a tim...

Coding & Algorithms
0
0
8 people solved
Apr 28, 2026
J.P. Morgan logo
J.P. Morgan
Easy
Software Engineer

Design a URL shortener

Design a URL shortening service similar to Bitly. The service should accept a long URL and return a short alias, and visiting the short URL should red...

System Design
21
0
142 people solved
Mar 10, 2026
Amazon logo
Amazon
Medium
Data Scientist

Compute an A/B test p-value by hand

In an A/B test on a game feature, you measure conversion rate (binary outcome). - Control: n₁ = 1000 users, x₁ = 120 conversions - Treatment: n₂ = 980...

Statistics & Math
11
0
94 people solved
Nov 4, 2025
Coinbase logo
Coinbase
Hard
Software Engineer

Design a basic banking system

Design a Basic Online Banking System with Safe Money Movements Problem Design a minimal but production-minded online banking service. The service must...

System Design
24
0
226 people solved
Aug 8, 2025
Uber logo
Uber
Hard
Software Engineer Locked

Build Quadtree and Find Grid Words

This question evaluates divide-and-conquer tree construction and recursive spatial data structures for the quadtree task, and grid-based search and ba...

Coding & Algorithms
7
0
87 people solved
Jan 26, 2026
Tesla logo
Tesla
Medium
Software Engineer

How to Identify Best Battery Group

You have historical quality data for batteries that were randomly assigned to one of 5 groups. Each battery then goes through 3 different quality test...

Machine Learning
23
0
173 people solved
Oct 26, 2025