Tech Interview Questions

Practice 9,031+ 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.0k Questions 486 Companies08.11.2026
Showing 20 results
Role
Attentive logo
Attentive
Medium
Data Scientist

Apply Multiple Testing Corrections for Valid Results Analysis

Apply Multiple Testing Corrections for Valid Results Analysis Interpreting 30 Parallel A/B Tests With Mixed Results Context - You ran 30 independent w...

Analytics & Experimentation
80
0
188 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Data Scientist

Calculate Defect Rate and Identify Top Lanes for Carriers

shipment +-------------+----------+-----------+---------+---------+-------------+-----------+ | shipment_id | order_id | ship_date | carrier | origin ...

Data Manipulation (SQL/Python)
66
0
218 people solved
Aug 4, 2025
Upstart logo
Upstart
Hard
Data Scientist

How to Architect a Personalized Ads Serving System

How to Architect a Personalized Ads Serving System Full-Funnel Ads Serving System Design Scenario You are asked to architect a full-funnel advertising...

Machine Learning
78
0
163 people solved
Aug 4, 2025
Upstart logo
Upstart
Medium
Data Scientist

Calculate Average Event Value by User ID

events +----+---------+------------+-------+---------------------+ | id | user_id | event_type | value | timestamp | +----+---------+-------...

Data Manipulation (SQL/Python)
54
0
120 people solved
Aug 4, 2025
Capital One logo
Capital One
Medium
Data ScientistSenior+

Explain Shell Script Line-by-Line for Data Science Workflows

Scenario Technical screening for a Principal Data Scientist: reviewing shell script and Python classes Question Explain, line by line, what the provid...

Coding & Algorithms
58
0
110 people solved
Aug 4, 2025
Google logo
Google
Medium
Data Scientist

Calculate User Deviation from Team Average Messages

usage_stats +---------+---------+---------------+------------+ | user_id | team_id | messages_sent | date | +---------+---------+---------------...

Data Manipulation (SQL/Python)
100
0
282 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Data Scientist

Implement Reservoir Sampling; Analyze Time and Space Complexity

Scenario Process an unbounded stream of user IDs and maintain a uniform random sample of k users in memory. Question Implement reservoir sampling for ...

Coding & Algorithms
23
0
63 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Data Scientist

Select Top Customers Using Transaction Data Filters

transactions +----+---------+------------+--------+ | id | user_id | order_date | amount | +----+---------+------------+--------+ | 1 | 101 | 202...

Data Manipulation (SQL/Python)
249
1
747 people solved
Aug 4, 2025
Meta logo
Meta
Medium
Data Scientist

Improve YoY Revenue Analysis with Complementary Metrics

ads_revenue +------------+-----------+ | date | revenue | +------------+-----------+ | 2023-01-01 | 120000 | | 2023-02-01 | 125500 | | 2...

Data Manipulation (SQL/Python)
101
0
241 people solved
Aug 4, 2025
CVS Health logo
CVS Health
Easy
Data Scientist

Assess Work Authorization and Professional Experience for Job Change

Assess Work Authorization and Professional Experience for Job Change Initial HR Phone Screen — Behavioral Questions (Data Scientist) Context You are i...

Behavioral & Leadership
31
0
141 people solved
Aug 4, 2025
CVS Health logo
CVS Health
Medium
Data Scientist

Explain Causal-Inference Techniques in Your Machine Learning Project

Explain Causal-Inference Techniques in Your Machine Learning Project Technical Deep-Dive: ML Project With Causal Inference Prompt Walk me through one ...

Machine Learning
14
0
68 people solved
Aug 4, 2025
OpenAI logo
OpenAI
Medium
Data Scientist

Identify Bugs in Python Script for User Assignment

Scenario A simple Python script assigns users to experiment groups and triggers the free-trial offer. Question Inspect the script and list any bugs or...

Coding & Algorithms
27
0
86 people solved
Aug 4, 2025
Upstart logo
Upstart
Hard
Data Scientist

Address Missing Income Bracket in California Housing Data

Address Missing Income Bracket in California Housing Data ML Case: Missing Lowest-Income Bracket in California Housing Data Context You're building a ...

Machine Learning
32
0
86 people solved
Aug 4, 2025
Upstart logo
Upstart
Medium
Data Scientist

Design Algorithm for Longest Substring with K Distinct Characters

Scenario Tech interview round 2 – sliding-window algorithm Question Design an algorithm that finds the length of the longest substring containing at m...

Coding & Algorithms
19
0
32 people solved
Aug 4, 2025
Upstart logo
Upstart
Medium
Data Scientist

Leverage Existing Model for Low Credit Score Applicants

Leverage Existing Model for Low Credit Score Applicants Expanding a Credit-Risk Model to a New Score Band Scenario Your current probability-of-default...

Machine Learning
25
0
82 people solved
Aug 4, 2025
Atlassian logo
Atlassian
Medium
Data Scientist

Expand Internationally: Data and Strategy for Market Entry

Expand Internationally: Data and Strategy for Market Entry Behavioral + Product Sense (Onsite) Context You are interviewing for a Data Scientist role ...

Behavioral & Leadership
94
0
175 people solved
Aug 4, 2025
Meta logo
Meta
Medium
Data Scientist

Describe Handling Conflict and Providing Constructive Feedback

Describe Handling Conflict and Providing Constructive Feedback Behavioral & Leadership Interview Prompts (Data Scientist) Context You are interviewing...

Behavioral & Leadership
21
0
57 people solved
Aug 4, 2025
Lyft logo
Lyft
Medium
Data Scientist

Optimize Driver Repositioning for Minimal Pickup Time

Scenario Design and implement algorithms for ride-sharing dispatch and capacity planning. Question Given historical rider demand density and current d...

Coding & Algorithms
55
0
104 people solved
Aug 4, 2025
Lyft logo
Lyft
Medium
Data Scientist

Investigate Causes of Driver WOW Score Drop

Investigate Causes of Driver WOW Score Drop Investigating a 10% QoQ Drop in Driver WOW (Satisfaction) Context Assume WOW is a standardized driver sati...

Analytics & Experimentation
32
0
96 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Data Scientist

Compare RNNs and Transformers for Long-Sequence Text Classification

Compare RNNs and Transformers for Long-Sequence Text Classification Scenario You are designing a long-sequence text classification system under tight ...

Machine Learning
48
0
102 people solved
Aug 4, 2025