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 480 Companies08.05.2026
Showing 20 results
Role
TikTok logo
TikTok
Easy
Data Scientist

Calculate Expected Draws for X > 0.8 in Uniform(0,1)

Calculate Expected Draws for X > 0.8 in Uniform(0,1) Scenario Quick probability check during a first-round screen to gauge statistical intuition. Ques...

Statistics & Math
7
0
57 people solved
Aug 4, 2025
Meta logo
Meta
Medium
Data Scientist

Identify 3-Person Call Cycles in Video-Calling App

Calls callerid | recipientid | ds | call_id | duration 1001 | 2001 | 2023-02-20| 555 | 180 2001 | 3001 | 2023-02-20| ...

Data Manipulation (SQL/Python)
0
0
5 people solved
Aug 4, 2025
Meta logo
Meta
Medium
Data Scientist

Solve Data-Structure Problems in Python Interview Round

Scenario Interview coding round focusing on simple data-structure problems in Python. Question Given an integer, rearrange its digits (considering onl...

Coding & Algorithms
4
0
47 people solved
Aug 4, 2025
Meta logo
Meta
Hard
Data Scientist

Estimate Fake Accounts Using Data Signals and Sampling

Estimate Fake Accounts Using Data Signals and Sampling Estimating Fake Accounts on a Social Network Background A large social platform wants to estima...

Analytics & Experimentation
5
0
40 people solved
Aug 4, 2025
Attentive logo
Attentive
Medium
Data Scientist

Interpret Results and Address Multiple Testing Concerns

Interpret Results and Address Multiple Testing Concerns Experiment Interpretation with Multiple Testing Context - An A/B experiment is run independent...

Analytics & Experimentation
3
0
36 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Data Scientist

Diagnose Business Decline Using Key Data Metrics

Diagnose Business Decline Using Key Data Metrics Diagnose a Sudden Business Downturn Using Data Context You are the data scientist supporting a large ...

Analytics & Experimentation
6
0
36 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Data Scientist

Resolve Conflicts Between Data Findings and Team Opinions

Resolve Conflicts Between Data Findings and Team Opinions Behavioral Scenario: Resolving Conflicts Between Data Findings and Team Beliefs Scenario You...

Behavioral & Leadership
9
0
62 people solved
Aug 4, 2025
TikTok logo
TikTok
Medium
Data Scientist

Identify Repeat Advertisers from Consecutive Weeks

SUBMISSIONS +--------------+-----------+-----------+ | advertiser_id| ad_id | week_id | +--------------+-----------+-----------+ | A123 ...

Data Manipulation (SQL/Python)
0
0
3 people solved
Aug 4, 2025
Boston Consulting Group logo
Boston Consulting Group
Medium
Data Scientist

Visualize and Clean SKU Sales Data for Outliers

sales_data +------------+--------+-----------+----------+------------+---------+ | date | sku_id | unit_sold | revenue | promo_flag | store_id|...

Data Manipulation (SQL/Python)
0
0
5 people solved
Aug 4, 2025
PayPal logo
PayPal
Medium
Data Scientist

Explain Window Functions and Joins in SQL and Python

TABLE transactions | transaction_id | user_id | merchant | amount | currency | transaction_ts | | 1001 | 17 | Walmart | 45.80...

Data Manipulation (SQL/Python)
0
0
7 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
746 people solved
Aug 4, 2025
Shopify logo
Shopify
Medium
Data Scientist

Measure Pirate-Theme Usage and Revenue Growth Over Time

theme_usage +-----------+------------+-------------+ | user_id | theme_name | created_at | +-----------+------------+-------------+ | 101 | p...

Data Manipulation (SQL/Python)
75
0
157 people solved
Aug 4, 2025
Snapchat logo
Snapchat
Medium
Data Scientist

Compute User Retention and Analyze Event Data

user_events +---------+---------------------+------------+-------+ | user_id | event_time | event_type | page | +---------+-----------------...

Data Manipulation (SQL/Python)
87
0
304 people solved
Aug 4, 2025
Atlassian logo
Atlassian
Medium
Data Scientist

Identify Top-3 Users by Recent Total Spend

Users +----+-------+-------------+ | id | name | joined_date | +----+-------+-------------+ | 1 | Alice | 2023-01-02 | | 2 | Bob | 2023-02-14 |...

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

Identify Key Metrics for Monitoring Shipment Defects

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

Data Manipulation (SQL/Python)
0
0
7 people solved
Aug 4, 2025
Upstart logo
Upstart
Medium
Data Scientist

Find Minimum Path Sum in Integer Triangle

Scenario Tech interview round 1 – dynamic programming challenge Question Given a triangle of integers, find the minimum path sum from top to bottom. A...

Coding & Algorithms
6
0
22 people solved
Aug 4, 2025
Capital One logo
Capital One
Medium
Data Scientist

Calculate Longest Transaction Streak for Each User

transactions +---------------+---------+--------+----------------+-----------+----------+ | transaction_id| user_id | amount | transaction_date| merch...

Data Manipulation (SQL/Python)
0
0
8 people solved
Aug 4, 2025
Boston Consulting Group logo
Boston Consulting Group
Medium
Data Scientist

Merge and Clean Customer Order Data for Analysis

customers +----+---------+---------+ | id | name | country | +----+---------+---------+ | 1 | Alice | US | | 2 | Bob | UK | | 3 ...

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

Implement Python Function for Longest Unique Substring Length

Scenario Real-time text analytics service enforcing uniqueness constraints Question Implement a Python function returning the length of the longest su...

Coding & Algorithms
3
0
26 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Data Scientist

Solve Search Insert Position Using Binary Search

Scenario Live coding round for an Amazon Applied Scientist position; candidate must solve LeetCode 35 (Search Insert Position) without helper librarie...

Coding & Algorithms
69
0
207 people solved
Aug 4, 2025