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
Jane Street logo
Jane Street
Easy
Software Engineer

Calculate dice game win probability

Calculate dice game win probability Dice Game With Tie Rerolls: Probability You Eventually Win Context - Three players each roll a fair standard 6-sid...

Statistics & Math
30
1
414 people solved
Aug 4, 2025
Jane Street logo
Jane Street
Hard
Machine Learning Engineer

Implement compiler for custom language

Implement compiler for custom language Design and implement a simple compiler/interpreter Goal Design and implement a small compiler/interpreter for a...

System Design
45
0
376 people solved
Aug 4, 2025
eBay logo
eBay
Medium
Software EngineerSenior+

Design a Relational-to-DynamoDB Migration System

Design a production migration system that moves an existing e-commerce service from a relational database to DynamoDB with minimal downtime. Your desi...

System Design
14
0
127 people solved
Apr 8, 2026
Airbnb logo
Airbnb
Hard
Software Engineer

Design rental watchlist and notification system

Design a Rental Listing Watchlist and Availability-Notification System You are designing a feature for a vacation-rental marketplace (Airbnb-style). A...

System Design
66
0
461 people solved
Sep 6, 2025
Databricks logo
Databricks
Hard
Software Engineer

Design a thread-safe bounded queue

Design a Thread-Safe Bounded MPMC Queue with Timeouts and Fairness Context You are building a reusable, in-memory, bounded queue that supports multipl...

System Design
39
0
523 people solved
Sep 6, 2025
Anthropic logo
Anthropic
Hard
Software Engineer

Scale crawler with thread pool

Concurrent Web Crawler — Bounded Thread Pool, Thread-Safe Frontier, Dedupe, Politeness, and Trade-offs You are refactoring an existing single-threaded...

System Design
19
0
369 people solved
Sep 6, 2025
Waymo logo
Waymo
Medium
Software EngineerSenior+ Locked

Design a Hybrid Evaluation Platform

This question evaluates skills in designing scalable ML evaluation platforms, covering architecture, data modeling, human-in-the-loop workflows, LLM-b...

ML System Design
19
0
133 people solved
Feb 6, 2026
NVIDIA logo
NVIDIA
Easy
Software Engineer

Write SQL to sum city population by name

You have four relational tables: - country(country_id, name) - state(state_id, country_id, name) - city(city_id, state_id, name) - zip(zip_code, city_...

Software Engineering Fundamentals
7
1
79 people solved
Feb 6, 2026
Shopify logo
Shopify
Medium
Machine Learning Engineer Locked

Build a fraud detection model

This question evaluates competency in designing end-to-end fraud detection machine learning systems, including defining prediction targets and labels,...

Machine Learning
17
0
117 people solved
Mar 1, 2026
Bloomberg logo
Bloomberg
Medium
Software Engineer

Implement a simplified grep with extensible flags

Problem Implement a simplified version of grep that searches a text file and returns the lines that match a given query string. You should focus on cl...

Coding & Algorithms
9
1
186 people solved
Dec 15, 2025
Bloomberg logo
Bloomberg
Easy
Software Engineer

Solve word path in grid and trapped water

You are given two independent programming tasks. --- Problem 1: Check if a word exists in a 2D character grid You are given a 2D grid board of charact...

Coding & Algorithms
13
0
150 people solved
Nov 25, 2025
Ramp logo
Ramp
Medium
Software Engineer

Find an Exit in a URL Maze

You are given a starting URL for a web-based maze. Each URL represents one room in the maze. Your task is to write a program that discovers whether th...

Coding & Algorithms
35
0
430 people solved
Apr 21, 2026
Microsoft logo
Microsoft
Easy
Software Engineer

Solve binary-tree reverse printing and LPS

You are given a binary tree node definition: - TreeNode { int val; TreeNode left; TreeNode right; } Answer the following two algorithmic questions. 1)...

Coding & Algorithms
11
0
124 people solved
Dec 24, 2025
Microsoft logo
Microsoft
Hard
Software EngineerSenior+

Design a typeahead search service

Design a search autocomplete system for a large application. As a user types a prefix, the system should return relevant suggestions with low latency....

System Design
26
0
183 people solved
Apr 7, 2026
Wayfair logo
Wayfair
Easy
Data Scientist

Solve SQL and Python OA tasks

Complete the following two online-assessment tasks. Task A — SQL You are given two tables: customer - customer_id INT - customer_name VARCHAR - purcha...

Data Manipulation (SQL/Python)
4
0
58 people solved
Feb 16, 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
Coupang logo
Coupang
Medium
Software Engineer

Design a PKI for internal mTLS and certificates

System Design Prompt Design a Public Key Infrastructure (PKI) for an organization to issue and manage certificates used for: - Internal mTLS between s...

System Design
6
0
101 people solved
Dec 13, 2025
Whatnot logo
Whatnot
Medium
Software Engineer

Propose and Validate a Mobile App Improvement

Assume you are working on a consumer mobile app. Propose one product improvement that could improve user engagement, retention, or conversion. Your an...

System Design
5
0
56 people solved
Jan 24, 2026
Uber logo
Uber
Medium
Data ScientistNew Grad Locked

Build cold-start restaurant ratings

This question evaluates a data scientist's ability to design a production-ready predictive modeling approach for cold-start ratings, testing competenc...

Machine Learning
24
0
189 people solved
Apr 6, 2026
Meta logo
Meta
Easy
Software EngineerSenior+

Design an online auction system

Design a scalable online auction service. Users can: - Create an auction (item info, start/end time, reserve price optional). - Place bids while the a...

System Design
13
0
175 people solved
Mar 11, 2026