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
Roblox logo
Roblox
Easy
Data Scientist Locked

Compute A/B test sample size and Bayes posterior

This question evaluates understanding of statistical power and sample size calculation for a two-sided A/B z-test as well as basic Bayesian posterior ...

Statistics & Math
9
0
66 people solved
Oct 3, 2025
Roblox logo
Roblox
Easy
Data Scientist Locked

Rank features using logistic regression coefficients

This question evaluates understanding of feature scaling, interpretation of logistic regression coefficients as feature importance, and awareness of h...

Machine Learning
9
0
65 people solved
Oct 3, 2025
Bytedance logo
Bytedance
Easy
Software Engineer

Add Two Signed Decimal Character Arrays

Add Two Signed Decimal Character Arrays Add two signed decimal integers supplied as strings without converting the complete inputs to built-in integer...

Coding & Algorithms
0
0
1 people solved
May 9, 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

Design an ML job scheduler

This question evaluates competency in ML systems design, distributed resource scheduling, and cluster resource management for heterogeneous CPU and GP...

ML System Design
4
0
68 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
Expedia logo
Expedia
Hard
Software Engineer Locked

Design an employee directory with reporting queries

This question evaluates system design competence with emphasis on hierarchical data modeling, concurrent data consistency, API and schema design, and ...

System Design
4
0
89 people solved
Jan 6, 2026
Google logo
Google
Hard
Machine Learning Engineer Locked

Solve several streaming, DAG, and DP tasks

This multi-part question evaluates proficiency in streaming and online algorithms, DAG-based scheduling and parallelism reasoning, and constrained dyn...

Coding & Algorithms
13
1
150 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
Meta logo
Meta
Medium
Software Engineer Locked

Design a ranking and recommendation system

This question evaluates a candidate's competency in designing end-to-end ranking and recommendation systems, covering candidate generation, ranking, f...

System Design
9
0
64 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
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
TikTok logo
TikTok
Medium
Software Engineer Locked

Match payments to invoices with fallback rules

This question evaluates a candidate's ability to design robust record-matching logic that handles identifier-based matches, fallback heuristics, and n...

Coding & Algorithms
6
0
59 people solved
Jan 6, 2026
TikTok logo
TikTok
Medium
Software Engineer Locked

Validate CSV rows under multiple verification rules

This question evaluates skills in CSV parsing, string normalization and multi-rule data validation, covering whitespace handling, length checks, case-...

Coding & Algorithms
4
0
32 people solved
Jan 6, 2026
Google logo
Google
Easy
Software Engineer

How would you lead a team through delivery issues?

Interview Prompt (Behavioral & Leadership) You are interviewing for a software engineering role. The interviewer runs a mixed behavioral round: one ex...

Behavioral & Leadership
5
0
51 people solved
Nov 17, 2025
Cadence logo
Cadence
Medium
Machine Learning EngineerNew Grad Locked

Implement Depth-First Search Traversal

This question evaluates implementation and conceptual understanding of graph traversal algorithms, specifically depth-first search on adjacency-list r...

Coding & Algorithms
3
0
27 people solved
Jan 5, 2026
Bnp logo
Bnp
Easy
Data Scientist

Compute expected max/min of n die rolls

You roll a fair six-sided die n times independently. 1) Compute the expected value of the maximum roll. 2) Compute the expected value of the minimum r...

Software Engineering Fundamentals
4
0
64 people solved
Jan 5, 2026
Bnp logo
Bnp
Easy
Data Scientist

Explain and compute option delta

In options trading, what is an option’s delta? 1) Give the definition of delta and explain its intuition/sign for calls vs puts. 2) Under the Black–Sc...

Software Engineering Fundamentals
5
0
43 people solved
Jan 5, 2026
Meta logo
Meta
Medium
Software Engineer Locked

Return right and left side views of a tree

This question evaluates understanding of binary tree data structures and the competency to identify side views by reasoning about which node is visibl...

Coding & Algorithms
4
0
39 people solved
Jan 5, 2026