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

Design a fintech homepage ranker

Personalized Product Ranking for a Fintech Home Page — End-to-End Design Context You are designing a personalized ranking system for a fintech app’s h...

Machine Learning
3
0
57 people solved
Oct 13, 2025
Meta logo
Meta
Medium
Data Scientist

Compute fraud probabilities with Bayes and Binomial

Fake-Account Detection with Binomial Sessions and Bayes Updating You are evaluating a rules-based detector for fake accounts on an online platform. Ea...

Statistics & Math
10
2
92 people solved
Oct 13, 2025
Meta logo
Meta
Hard
Data Scientist

Measure fake-news interventions under network interference

Experiment Design Under Interference: Warning Label for Suspected Fake-News Reshares Context You are testing a pre-reshare warning label for links sus...

Analytics & Experimentation
6
0
49 people solved
Oct 13, 2025
EY logo
EY
Medium
Data Scientist

Design a data platform enablement

Design a pragmatic data‑platform enablement for a mid‑tier retail bank migrating to cloud under PII and data‑residency constraints. Describe the targe...

Data Manipulation (SQL/Python)
9
0
88 people solved
Oct 13, 2025
Microsoft logo
Microsoft
Hard
Data Scientist Locked

Design and analyze email deliverability experiment

This question evaluates a data scientist's competency in experimental design, causal inference, sequential testing (frequentist and Bayesian), instrum...

Analytics & Experimentation
7
1
71 people solved
Oct 13, 2025
Upstart logo
Upstart
Easy
Data Scientist

Derive logistic regression objective and gradients

Context: Binary Logistic Regression You are given a binary classification dataset {(x_i, y_i)}_{i=1}^m with labels y_i ∈ {0, 1}. The model uses the si...

Machine Learning
4
0
89 people solved
Oct 13, 2025
Capital One logo
Capital One
Hard
Data Scientist

Demonstrate cross-functional leadership with data and reflection

Cross-Functional Project Under a Hard Deadline (Data Scientist) Context: Share one concrete project where you partnered across at least three function...

Behavioral & Leadership
7
0
58 people solved
Oct 13, 2025
Apple logo
Apple
Hard
Data Scientist

Evaluate a model and choose metrics

Fraud-screening model evaluation under class imbalance and asymmetric costs Context You operate a binary classifier that flags e‑commerce orders for m...

Analytics & Experimentation
11
0
121 people solved
Oct 13, 2025
TikTok logo
TikTok
Hard
Data Scientist

Drive product decisions with causal product sense

Experimenting on a New Paywall with Likely Spillovers Context You are designing an experiment to evaluate a new paywall on a social/content app where ...

Analytics & Experimentation
7
0
67 people solved
Oct 13, 2025
Microsoft logo
Microsoft
Hard
Data Scientist

Design a model for imbalanced conversions

Predicting Purchase Propensity After a Campaign (5% Positives) You previously ran a marketing campaign to 10,000 customers and observed 500 purchases ...

Machine Learning
10
0
72 people solved
Oct 13, 2025
Netflix logo
Netflix
Hard
Data Scientist

Design and power a frequency-cap experiment

Experiment Design: Raising a 7‑Day Frequency Cap from 3→4 Impressions Context A large video ad campaign plans to raise the per‑user rolling 7‑day freq...

Analytics & Experimentation
17
0
118 people solved
Oct 13, 2025
Voleon logo
Voleon
Medium
Software Engineer

Count queen attacks on points with blockers

You are given positions on an (unbounded) 2D integer grid. - queens: coordinates of queens - points: query coordinates A queen attacks along 8 directi...

Coding & Algorithms
52
0
392 people solved
Dec 9, 2025
Voleon logo
Voleon
Medium
Software Engineer

Validate whether a binary string is good

You are given a binary string s consisting only of characters '0' and '1'. Define a good string recursively by the grammar: - '0' is a good string. - ...

Coding & Algorithms
42
0
329 people solved
Dec 9, 2025
Meta logo
Meta
Medium
Machine Learning Engineer Locked

Solve array merge, tree view, and maze tasks

This question evaluates array manipulation and in-place algorithms, binary tree traversal and visibility reasoning, and grid graph traversal for path ...

Coding & Algorithms
3
0
39 people solved
Dec 9, 2025
Meta logo
Meta
Medium
Machine Learning Engineer Locked

Design recommendation and weapon-ad detection systems

This question evaluates proficiency in end-to-end ML system design, covering scalable recommendation systems and safety-focused ad classification with...

ML System Design
8
0
82 people solved
Dec 9, 2025
Goldman Sachs logo
Goldman Sachs
Medium
Software Engineer

How would you handle conflict and data pressure?

Behavioral questions (answer both) 1) Leading amid collaborator disagreement You are newly assigned as the team lead by your manager. One collaborator...

Behavioral & Leadership
6
0
60 people solved
Dec 9, 2025
Amazon logo
Amazon
Easy
Machine Learning Engineer

Describe overfitting and L1/L2 regularization

Define overfitting in machine learning and explain why it is harmful. Then describe L1 and L2 regularization: - How each one modifies the loss functio...

Machine Learning
5
0
76 people solved
Dec 8, 2025
Amazon logo
Amazon
Easy
Machine Learning Engineer

Explain the bias–variance trade-off

Explain the bias–variance trade-off in supervised learning. In your answer, cover: - What bias and variance mean in the context of a prediction model....

Machine Learning
4
0
51 people solved
Dec 8, 2025
TikTok logo
TikTok
Hard
Machine Learning Engineer

Generate all safe queen placements on board

You are given an integer n representing the size of a chessboard (n × n). You need to place n queens on the board so that no two queens attack each ot...

Coding & Algorithms
4
0
43 people solved
Dec 8, 2025
Cloudflare logo
Cloudflare
Easy
Software Engineer

Explain debugging methodology for production issues

In a technical interview, you are asked: > What is your methodology when debugging or when something goes wrong? Describe a systematic approach you wo...

Software Engineering Fundamentals
6
0
71 people solved
Dec 8, 2025