Tech Interview Questions

Practice 9,160+ 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.11.2026
Showing 20 results
Role
TikTok logo
TikTok
Medium
Data Scientist

SQL Queries and Analysis on Bad Advertisers

Scenario You are on the analytics team at TikTok and need to analyze the presence of bad content in ads and identify problematic advertisers. Question...

Analytics & Experimentation
12
0
73 people solved
Jun 29, 2025
Uber logo
Uber
Easy
Data Scientist Locked

How to experiment on ETA reduction

This question evaluates a data scientist's competence in causal inference, A/B test design, metric selection, and diagnosing observational confounding...

Analytics & Experimentation
16
0
203 people solved
Feb 6, 2026
Waymo logo
Waymo
Medium
Software EngineerSenior+ Locked

Can You Reach the Last Index?

This question evaluates a candidate's understanding of array traversal and reachability in sequences of jumps, along with the ability to reason about ...

Coding & Algorithms
14
0
109 people solved
Feb 6, 2026
Perplexity logo
Perplexity
Medium
Software Engineer

Implement time-versioned KV store with restore

Design and implement an in-memory key–value store where every operation is associated with a timestamp (monotonically increasing integer). The store m...

Coding & Algorithms
6
0
58 people solved
Feb 6, 2026
DoorDash logo
DoorDash
Easy
Data Scientist Locked

Design experiments for payments, search, and promotions

This question evaluates a data scientist's skills in product experimentation, causal inference, metric selection, and marketplace impact analysis acro...

Analytics & Experimentation
34
0
275 people solved
Feb 5, 2026
Worldquant logo
Worldquant
Medium
Data Scientist

Derive the Long-Run Sex Ratio Under a Stopping Rule

Assume each child is independently equally likely to be a girl or a boy. Every family continues having children until its first boy, then stops. For a...

Statistics & Math
0
0
5 people solved
Jan 5, 2025
Bloomberg logo
Bloomberg
Medium
Software Engineer

Implement anagram check and odd-even linked list

You are given two independent coding tasks. Task 1: Check if two strings are anagrams Implement a function that determines whether two given strings a...

Coding & Algorithms
9
0
77 people solved
Oct 6, 2025
TikTok logo
TikTok
Easy
Data Scientist

Find high-value crypto users and top-CTR product

You are given three tables (timezone: UTC). Assume create_date, transaction_time, and event_time are timestamps. Tables users - user_id BIGINT PRIMARY...

Data Manipulation (SQL/Python)
4
1
75 people solved
Feb 4, 2026
Ramp logo
Ramp
Hard
Software Engineer

Find final URL by crawling until “congrats”

You are given a starting HTTP URL. Implement a function that repeatedly calls URLs returned by previous responses until you reach a response that indi...

Coding & Algorithms
52
0
379 people solved
Feb 4, 2026
Netflix logo
Netflix
Medium
Software Engineer Locked

Compute minimum semesters to finish courses

This question evaluates graph theory and scheduling competencies, including dependency resolution, cycle detection in directed graphs, and capacity-co...

Coding & Algorithms
15
0
225 people solved
Feb 4, 2026
Bloomberg logo
Bloomberg
Medium
Software Engineer Locked

Solve sliding-window, flattening, decode, and O(1) random set

This multi-part question evaluates competence in string processing and nested parsing, linked-list flattening and recursion depth management, dynamic ...

Coding & Algorithms
10
0
119 people solved
Feb 4, 2026
DoorDash logo
DoorDash
Medium
Software EngineerSenior+

Find Each Cell's Nearest Source

Given an m x n grid containing 1 for source cells and 0 for regular cells, compute for every cell the shortest 4-directional distance to any source ce...

Coding & Algorithms
11
0
81 people solved
Feb 3, 2026
Shopify logo
Shopify
Medium
Machine Learning Engineer AI Locked

Implement a Capacity-Bounded Cache

This question evaluates a candidate's ability to design and implement an efficient capacity-bounded in-memory key-value cache, assessing understanding...

Coding & Algorithms
6
0
71 people solved
Feb 3, 2026
Arista logo
Arista
Easy
Software Engineer

Solve palindrome and missing-number variants

You are asked to solve two coding problems and analyze the time and space complexity of each. 1. Palindrome check Given a string s, determine whe...

Coding & Algorithms
5
0
51 people solved
Feb 3, 2026
Hard
Software Engineer

Implement a multi-button click detector

Implement a click detector for multiple physical buttons. You receive button state updates as a stream. Each update provides: - button_id (integer) - ...

Coding & Algorithms
7
0
55 people solved
Feb 3, 2026
DoorDash logo
DoorDash
Medium
Machine Learning Engineer Locked

Minimize batches and allocate riders by time

This question set evaluates algorithmic problem-solving in scheduling and resource allocation, assessing understanding of batching under capacity and ...

Coding & Algorithms
17
0
248 people solved
Feb 3, 2026
Google logo
Google
Hard
Machine Learning EngineerIntern Locked

Construct connected crop layout and safe paths

This question evaluates constructive grid design and graph-based pathfinding skills, specifically the ability to produce connected labeled regions tha...

Coding & Algorithms
5
1
94 people solved
Feb 3, 2026
Dropbox logo
Dropbox
Medium
Software Engineer

Describe Your Most Complex Project

The behavioral rounds focused on two areas: 1. Describe the most complex project you have worked on. Expect deep follow-up questions about: - the busi...

Behavioral & Leadership
6
0
67 people solved
Oct 3, 2025
Dropbox logo
Dropbox
Medium
Software Engineer Locked

Design an S3-like Object Store

This question evaluates system design and distributed storage architecture skills, focusing on scalability, durability, metadata versus data separatio...

System Design
4
0
58 people solved
Oct 3, 2025
Roblox logo
Roblox
Easy
Data Scientist Locked

Compute diff-in-diff and pretrend flag

This question evaluates understanding of difference-in-differences estimation, simple pretrend detection, and related data-processing competencies for...

Analytics & Experimentation
6
0
49 people solved
Oct 3, 2025