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

Explain SHAP and build an ML project

This question evaluates understanding of model explainability using SHAP and the competency to design and operationalize an end-to-end machine learnin...

Machine Learning
9
0
96 people solved
Feb 9, 2026
Optiver logo
Optiver
Medium
Data Scientist

Prove a Tight Lower Bound on a Latin Square's Lower-Triangle Sum

Consider an $n \times n$ grid ($n \ge 1$) filled with integers so that every row contains each of the numbers $1, 2, \ldots, n$ exactly once, and ever...

Software Engineering Fundamentals
2
0
32 people solved
Mar 21, 2025
Reinforce Labs logo
Reinforce Labs
Medium
Software Engineer Locked

Write SQL to compute current product stock

This question evaluates SQL competence in aggregations and relational joins, including handling baselines, nullable data, temporal filtering, and accu...

Software Engineering Fundamentals
3
0
26 people solved
Jan 8, 2026
Roku logo
Roku
Medium
Software Engineer Locked

Design a video-on-demand streaming service

This question evaluates a candidate's ability to design a large-scale video-on-demand streaming system, testing competencies in distributed systems ar...

System Design
7
0
93 people solved
Jan 8, 2026
DRW logo
DRW
Medium
Machine Learning Engineer

Implement simulation-based portfolio optimizer in Python

Implement simulation-based portfolio optimizer in Python Given a pandas DataFrame 'returns' of daily asset returns (index: dates; columns: tickers) an...

Data Manipulation (SQL/Python)
3
0
53 people solved
Jul 31, 2025
Parafin logo
Parafin
Hard
Software Engineer

Design a loan application system

Design a loan application system System Design: End-to-End Online Loan Application Platform Context Design a small online lending platform where appli...

System Design
27
0
324 people solved
Jul 31, 2025
Meta logo
Meta
Medium
Software Engineer

Describe conflict where you yielded to others

Describe a time you had a conflict or strong disagreement at work, but ultimately decided to follow someone else’s approach instead of your own. In yo...

Behavioral & Leadership
9
0
70 people solved
Dec 8, 2025
TikTok logo
TikTok
Hard
Machine Learning Engineer

Define QKV for recommender cross-attention

You are designing a deep-learning–based recommendation system that uses a Transformer-style cross-attention block to model the interaction between a u...

Machine Learning
7
0
65 people solved
Dec 8, 2025
Databricks logo
Databricks
Medium
Software Engineer Locked

Design a Slack-like messaging system

This question evaluates system design and distributed-systems competencies, focusing on real-time messaging architecture, data modeling, scalability, ...

System Design
16
0
208 people solved
Dec 8, 2025
Scale AI logo
Scale AI
Medium
Software Engineer

Describe how you resolve conflicts at work

Interview-style behavioral question: "Tell me about a time you had a conflict with a teammate, stakeholder, or manager. What caused the conflict, how ...

Behavioral & Leadership
21
0
192 people solved
Dec 8, 2025
Apple logo
Apple
Easy
Data Scientist Locked

Investigate cross-country engagement and ads experiments

This Analytics & Experimentation (Data Scientist) question evaluates skills in experiment design and causal inference, metric definition and trade-off...

Analytics & Experimentation
9
0
94 people solved
Aug 24, 2025
Microsoft logo
Microsoft
Medium
Software Engineer

Design a high-level logging system

Design a high-level centralized logging system for a company. Assume many services (microservices, batch jobs) running across multiple hosts/container...

System Design
6
0
116 people solved
Feb 9, 2026
Apple logo
Apple
Medium
Software EngineerIntern

Answer OoO, caches, and memory-system questions

You are interviewing for a CPU/DV role. Provide clear explanations (and small worked examples where useful) for the following computer architecture to...

Software Engineering Fundamentals
12
0
142 people solved
Feb 9, 2026
Meta logo
Meta
Medium
Data Scientist Locked

Write SQL for multi-account metrics

This question evaluates proficiency in SQL for multi-table aggregation, grouping, joins, and conditional counting within a user-account-notification s...

Data Manipulation (SQL/Python)
7
1
52 people solved
Mar 16, 2026
Capital One logo
Capital One
Medium
Data Scientist

Assess card rewards profitability and break-even spend

Credit Card Unit Economics and Break-even Spend Context A bank is evaluating launching a credit card that pays 1% rewards on all purchases. Consider p...

Analytics & Experimentation
5
0
69 people solved
Oct 13, 2025
Google logo
Google
Medium
Data Scientist

Test a coefficient and explain t-distribution

In OLS, test whether feature j is relevant. a) State H0: β_j = 0 versus H1: β_j ≠ 0 and construct the t‑statistic t_j = b̂_j / se(b̂_j), giving the ex...

Statistics & Math
5
0
105 people solved
Oct 13, 2025
Google logo
Google
Medium
Data Scientist

Build and evaluate bad-link classifier

You have 1,000 URLs labeled as bad or good and a much larger unlabeled pool, with bad links rare. Design features and train a logistic regression. Exp...

Machine Learning
5
0
97 people solved
Oct 13, 2025
Google logo
Google
Medium
Data Scientist Locked

Assess education–income effect credibly

This question evaluates a data scientist's competencies in causal inference, experimental design, model selection, estimand specification (ATE) and se...

Analytics & Experimentation
8
0
61 people solved
Oct 13, 2025
Google logo
Google
Medium
Data Scientist Locked

Handle p≈n linear regression with L1

This question evaluates competence in high-dimensional linear regression, penalized estimation (L1/L2/elastic net), preprocessing and feature handling...

Machine Learning
15
0
99 people solved
Oct 13, 2025
Lyft logo
Lyft
Medium
Data Scientist

Demonstrate leadership under ambiguity

Describe a time you faced an open-ended, lightly guided interview or project where the counterpart had a strong accent and offered little direction. H...

Behavioral & Leadership
7
0
79 people solved
Oct 13, 2025