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

Calculate User Registration Date and 7-Day Retention Rate

user_posts +---------+--------------+-----------+ | user_id | posting_date | num_posts | +---------+--------------+-----------+ | 1 | 2023-01-01...

Data Manipulation (SQL/Python)
81
0
7 people solved
Jul 12, 2025
TikTok logo
TikTok
Medium
Data Scientist

Compare Random Forests and Boosted Trees: Bias, Variance, Speed

Compare Random Forests and Gradient-Boosted Trees You are choosing and configuring tree-based ensemble models for a product-facing data-science proble...

Machine Learning
157
4
227 people solved
Jul 12, 2025
Pinterest logo
Pinterest
Medium
Data Scientist

Analyze Global Engagement and Impressions with SQL Queries

impressions +---------+---------+----------+----------------+ | user_id | country | category | impression_cnt | +---------+---------+----------+------...

Data Manipulation (SQL/Python)
45
0
7 people solved
Jul 12, 2025
Netflix logo
Netflix
Medium
Data Scientist

Determine Maximum Consecutive Order Days Per User

Determine Maximum Consecutive Order Days Per User orders +----+---------+------------+ | id | user_id | order_date | +----+---------+------------+ | ...

Data Manipulation (SQL/Python)
61
0
139 people solved
Jul 12, 2025
Citadel logo
Citadel
Medium
Data Scientist

Implement Infinite Fibonacci Generator Using Lazy Evaluation

Scenario Testing understanding of Python lazy evaluation and generators. Question Explain what lazy evaluation means in Python and implement a generat...

Coding & Algorithms
20
0
43 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Resolve Team Conflicts and Exceed Job Expectations Successfully

Resolve Team Conflicts and Exceed Job Expectations Successfully This behavioral prompt explores initiative beyond formal responsibilities and the abil...

Behavioral & Leadership
27
0
41 people solved
Jul 12, 2025
Capital One logo
Capital One
Medium
Data Scientist

Calculate Payback Period for Solar and Corn Projects

Calculate Payback Period for Solar and Corn Projects Energy One must choose between two renewable projects using a simple payback metric: years until ...

Analytics & Experimentation
88
0
312 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Determine Metrics for Group-Video Calling Experiment Success

Determine Metrics for Group-Video Calling Experiment Success You are the data scientist for a large consumer messaging app that currently supports one...

Analytics & Experimentation
83
0
293 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Choose Metrics for Evaluating Fake-User Classifier

Choose Metrics for Evaluating a Fake-User Classifier A sudden spike in daily average comments may be driven by fake users. You are asked to build a bi...

Machine Learning
19
0
50 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Build Trust Quickly with New Team Stakeholders

Build Trust Quickly with New Team Stakeholders This behavioral prompt assesses cross-functional collaboration for a data scientist role. The interview...

Behavioral & Leadership
17
0
81 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Analyze Revenue Shifts to Identify Cannibalization Effects

Analyze Revenue Shifts to Identify Cannibalization Effects Management observes strong revenue growth from one creation_source, such as a channel where...

Analytics & Experimentation
18
0
51 people solved
Jul 12, 2025
Meta logo
Meta
Hard
Data Scientist

Implement Clustered Sampling to Mitigate Network Effects in Testing

Implement Clustered Sampling to Mitigate Network Effects in Testing You are planning an A/B test for a new recommendation algorithm in a networked pro...

Analytics & Experimentation
24
0
99 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Identify Probability Distributions for Modeling Ad Clicks

Identify Probability Distributions for Modeling Ad Clicks You are interviewing for a data scientist role on an ads team. The interviewer asks you to d...

Statistics & Math
73
0
144 people solved
Jul 12, 2025
Yahoo logo
Yahoo
Medium
Data Scientist

Investigate Yahoo Mail's 10% DAU Decline Causes

Investigate Yahoo Mail's 10% DAU Decline Causes Yahoo Mail suddenly reports a 10% decline in daily active users. You need to investigate whether the d...

Analytics & Experimentation
30
0
108 people solved
Jul 12, 2025
OpenAI logo
OpenAI
Medium
Data Scientist

Design Schema and Logic for Subscription Event Tracking

user_subscription_events +----------+-------------+---------------------+-----------+---------+ | user_id | event_type | event_time | plan_...

Data Manipulation (SQL/Python)
71
0
159 people solved
Jul 12, 2025
Amazon logo
Amazon
Medium
Data Scientist

Compare Regularization Techniques and Their Use Cases

Compare Regularization Techniques and Their Use Cases This technical phone screen asks about model evaluation, regularization, and regression basics f...

Machine Learning
14
0
62 people solved
Jul 12, 2025
Amazon logo
Amazon
Medium
Data Scientist

Demonstrate Initiative Beyond Job Responsibilities

Demonstrate Initiative Beyond Job Responsibilities This behavioral prompt evaluates ownership, curiosity, and willingness to solve ambiguous technical...

Behavioral & Leadership
16
0
49 people solved
Jul 12, 2025
Meta logo
Meta
Hard
Data Scientist

Evaluate Factors Before Replacing Recommendation Model

Evaluate Factors Before Replacing a Recommendation Model A large ads platform has built a new recommendation or ranking model and plans to deprecate t...

Machine Learning
63
0
275 people solved
Jul 12, 2025
TikTok logo
TikTok
Easy
Data Scientist

Test Billboard Campaign Conversion Rate Exceeds 60%

Test Whether a Billboard Campaign Conversion Rate Exceeds 60% A billboard campaign sample contains N = 100 users, and 65 of them converted. You want t...

Statistics & Math
38
0
132 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Model Unique Recipients with Poisson Distribution and Test Fit

Model Unique Recipients with a Count Distribution and Test Fit You need to model the distribution of the number of unique recipients each caller conta...

Statistics & Math
45
0
62 people solved
Jul 12, 2025