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
Zest logo
Zest
Hard
Data Scientist

Compute tree depth and meeting rooms

Solve both coding problems. Problem 1: Maximum depth of a binary tree Given the root of a binary tree, return its maximum depth. The maximum depth is ...

Coding & Algorithms
1
0
23 people solved
Apr 5, 2026
Zest logo
Zest
Hard
Data Scientist

Diagnose overfitting from error curves

You are evaluating a supervised machine learning model. You are shown a plot where the x-axis is training epoch or model complexity and the y-axis is ...

Machine Learning
3
0
37 people solved
Apr 5, 2026
Anthropic logo
Anthropic
Medium
Software Engineer Locked

Build a concurrent web crawler

This question evaluates understanding of concurrent programming, synchronization, thread safety, and graph traversal as applied to a multithreaded web...

Coding & Algorithms
22
0
144 people solved
Apr 5, 2026
Meta logo
Meta
Medium
Data Scientist

Count unconnected posts and reactions

You are analyzing a newly launched feed feature intended to improve engagement by showing more unconnected content. Assume the following tables: - pos...

Data Manipulation (SQL/Python)
22
2
201 people solved
Apr 5, 2026
Meta logo
Meta
Medium
Software Engineer Locked

Solve delimiter and CSV tasks

This question evaluates skills in string parsing and bracket balancing, CSV/file parsing and joining, computation of derived values, and sorting, emph...

Coding & Algorithms
6
0
53 people solved
Apr 5, 2026
Dispatch logo
Dispatch
Easy
Software Engineer

Fetch Public S3 Object Metadata

In Node.js, using AWS SDK for JavaScript v3, write a program that accesses the public S3 bucket coderbytechallengesandbox in region us-east-1 without ...

Software Engineering Fundamentals
10
0
71 people solved
Apr 5, 2026
Squarespace logo
Squarespace
Easy
Software Engineer

Count Numbers Inside All Intervals

You are given: 1. An integer array nums. 2. A list of intervals intervals, where each interval is represented as [start, end]. The intervals are not s...

Coding & Algorithms
3
1
30 people solved
Apr 5, 2026
SoFi logo
SoFi
Easy
Software Engineer Locked

Count numbers with same popcount up to all-ones bound

This question evaluates skill in bit manipulation and combinatorial counting over binary representations in the Coding & Algorithms domain, specifical...

Coding & Algorithms
18
0
129 people solved
Jan 7, 2026
Databricks logo
Databricks
Hard
Software Engineer Locked

Find all anagram start indices

This question evaluates proficiency in string manipulation, algorithmic efficiency, and pattern detection through character frequency analysis, assess...

Coding & Algorithms
14
0
138 people solved
Jan 7, 2026
Databricks logo
Databricks
Medium
Machine Learning Engineer Locked

Design Harmful Content and OOM Detection

This question evaluates machine learning system-design competencies, including safety-oriented content classification, taxonomy and labeling strategy,...

ML System Design
5
0
90 people solved
Jan 6, 2026
Netflix logo
Netflix
Easy
Machine Learning Engineer Locked

Implement rotating homepage title selector

This question evaluates understanding of data structures and algorithms for prioritized selection with stateful constraints, focusing on maintaining d...

Coding & Algorithms
2
0
43 people solved
Jan 6, 2026
Capital One logo
Capital One
Hard
Machine Learning Engineer Locked

Support updates and count target-sum pairs

This question evaluates data structures and algorithmic skills for dynamic pair counting, focusing on frequency management, efficient update handling,...

Coding & Algorithms
7
0
74 people solved
Jan 6, 2026
Meta logo
Meta
Medium
Software Engineer

Describe failures, self-reflection, and conflict resolution

Answer the following behavioral prompts with recent examples: 1. Self-reflection / improvement - “In a recent project, where could you have done be...

Behavioral & Leadership
16
0
122 people solved
Jan 6, 2026
Wave logo
Wave
Hard
Software Engineer Locked

Construct a circular gift exchange across families

This question evaluates ability to model constrained permutations and apply graph-theoretic and combinatorial reasoning to produce a single circular o...

Coding & Algorithms
3
0
30 people solved
Jan 6, 2026
Google logo
Google
Hard
Software Engineer Locked

Determine winner in stack-merging game

This question evaluates understanding of combinatorial game theory, impartial game analysis, state-space encoding, and efficient state-space search te...

Coding & Algorithms
10
1
72 people solved
Jan 6, 2026
PayPal logo
PayPal
Medium
Software Engineer Locked

Solve common search/parse/graph frequency tasks

This multi-part question evaluates algorithmic problem-solving skills across searching and sorting variants, rotated-array search, nested string decod...

Coding & Algorithms
5
0
69 people solved
Jan 6, 2026
xAI logo
xAI
Easy
Software Engineer

Implement an in-memory database with TTL and backup

In-Memory Database (Levels 1–4: TTL and Backup/Restore) Implement an in-memory database that stores records identified by a string key. Each record co...

Coding & Algorithms
107
2
1031 people solved
Jan 6, 2026
Microsoft logo
Microsoft
Medium
Machine Learning EngineerSenior+ Locked

Design email ranking and summarization in Outlook

This question evaluates proficiency in designing end-to-end machine learning systems for personalized email ranking and abstractive summarization, enc...

ML System Design
6
0
59 people solved
Jan 6, 2026
Two Sigma logo
Two Sigma
Hard
Data Scientist Locked

Derive correlation bounds and omitted-variable bias

This question evaluates understanding of multivariate correlation structure and linear regression properties, focusing on feasible ranges and construc...

Machine Learning
15
0
113 people solved
Jan 6, 2026
Bloomberg logo
Bloomberg
Medium
Software Engineer Locked

Validate whether brackets are properly nested

This question evaluates proficiency in sequence validation, paired-token matching, and the use of data structures to manage nested elements within str...

Coding & Algorithms
13
0
100 people solved
Jan 6, 2026