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
Meta logo
Meta
Medium
Data Scientist

Analyze Group Call Adoption Using SQL Queries

CALL_LOGS | call_id | user_id | call_start | call_end | is_group_call | participant_cnt | | 101 | 12 | 2023-08-01 10:00...

Data Manipulation (SQL/Python)
153
1
246 people solved
Jul 12, 2025
Google logo
Google
Medium
Data Scientist

Remove Duplicates While Preserving Order in List

Scenario A data pipeline receives an unordered list of IDs containing duplicates; downstream components require a duplicate-free list while preserving...

Coding & Algorithms
15
1
54 people solved
Jul 12, 2025
Meta logo
Meta
Hard
Data Scientist

Analyze Data to Boost Group Post Comment Rates

Analytics Plan to Increase Group Post Comment Coverage A social shopping platform wants to increase the percentage of group posts that receive at leas...

Analytics & Experimentation
69
0
176 people solved
Jul 12, 2025
TikTok logo
TikTok
Medium
Data Scientist

Compute 7-Day Rolling Average of Unique Post Viewers

POST_VIEWS +---------+------------+---------+ | user_id | view_date | post_id | | 101 | 2023-08-01 | 10 | | 102 | 2023-08-01 | 11 |...

Data Manipulation (SQL/Python)
91
0
440 people solved
Jul 12, 2025
Pinterest logo
Pinterest
Medium
Data Scientist

Decode and Explain Ambiguity in Compression Strings

Scenario Compression library that encodes an array as count-value pairs where value is one digit but count may be many digits. Question Implement deco...

Coding & Algorithms
14
0
38 people solved
Jul 12, 2025
Coinbase logo
Coinbase
Medium
Data Scientist

Calculate Adoption and Transaction Rates, Identify Cross-Region Sales

user_txn +---------+-------------+------------+---------------+------------------+---------------------+ | user_id | user_region | adopted_at | transa...

Data Manipulation (SQL/Python)
65
0
288 people solved
Jul 12, 2025
Pinterest logo
Pinterest
Medium
Data Scientist

Clean and Aggregate Transactions for Finance Dashboard

transactions id | user_id | amount | timestamp | category 1 | 1001 | 19.99 | 2023-01-01 09:00:00 | grocery 2 | 1001 | 5.50 | 2023...

Data Manipulation (SQL/Python)
77
0
2 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Calculate Average Session Length and Compare App Performance

user_sessions +---------+------------+------------+---------------------+---------------------+ | user_id | session_id | app | session_start ...

Data Manipulation (SQL/Python)
125
0
324 people solved
Jul 12, 2025
Uber logo
Uber
Medium
Data Scientist

Analyze User Purchase Behavior in Online Marketplace Data

user_events +----------+------------+---------------------+-------------+ | user_id | event_type | event_timestamp | product_id | +----------+--...

Data Manipulation (SQL/Python)
63
1
5 people solved
Jul 12, 2025
Meta logo
Meta
Hard
Data Scientist

Analyze Free Shuttle Impact on Employee Participation Rates

Analyze Free Shuttle Impact on Employee Participation Rates You have panel data for more than 1,000 company sites over time. Some sites adopt free shu...

Analytics & Experimentation
104
0
247 people solved
Jul 12, 2025
Roblox logo
Roblox
Medium
Data Scientist

Generate Friendship List with Acceptance Dates Using Pandas

friend_events | requester_id | accepter_id | request_date | accept_date | |--------------|-------------|--------------|-------------| | 1 |...

Data Manipulation (SQL/Python)
56
0
5 people solved
Jul 12, 2025
Roblox logo
Roblox
Medium
Data Scientist

Analyze Recent Orders Dataset with Python/pandas

orders | order_id | user_id | price | created_at | |----------|---------|-------|------------| | 1 | 101 | 20.5 | 2024-01-01 | | 2 ...

Data Manipulation (SQL/Python)
39
0
6 people solved
Jul 12, 2025
Meta logo
Meta
Easy
Data Scientist

Expected impressions per user under random assignment

Random Assignment of Ad Impressions Across Users In an A/B experiment, Y ad impressions are served uniformly at random across X distinct users. Each i...

Analytics & Experimentation
14
0
31 people solved
Jul 12, 2025
TikTok logo
TikTok
Medium
Data Scientist

Analyze and Clean European Ecommerce Sales Data

sales +----------+-------------+------------+---------+---------+----------------+ | order_id | customer_id | order_date | country | revenue | product...

Data Manipulation (SQL/Python)
51
0
94 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Determine Product Buyer Count and Interaction Percentage

interactions +-----------+----------+------------+----+------------+ | seller_id | buyer_id | product_id | li | create_date| +-----------+----------+-...

Data Manipulation (SQL/Python)
13
0
34 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Identify Top 10 Users by Average Call Duration

video_calls | call_id | user_id | start_time | end_time | |---------|---------|----------------------|----------------------| | ...

Data Manipulation (SQL/Python)
6
0
29 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Compute Shop Visibility Rate Using SQL and Python

shop_events | event_id | shop_id | user_id | event_type | event_time | | 1 | 101 | 1001 | view | 2023-07-01 10:05:00 | | ...

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

Calculate 7-Day Rolling Average for Energy Consumption

Scenario Hiring manager wants a quick coding exercise to verify programming fluency. Question Write a Python function that takes a list of daily energ...

Coding & Algorithms
39
0
87 people solved
Jul 12, 2025
Meta logo
Meta
Hard
Data Scientist

Determine Demand for WhatsApp Group Video-Calls

Determine Demand for WhatsApp Group Video Calls WhatsApp is considering launching group video calls. Assume the feature does not currently exist, but ...

Analytics & Experimentation
70
0
200 people solved
Jul 12, 2025
Morningstar logo
Morningstar
Easy
Data Scientist Locked

Explain a stochastic process simply

Statistics interview prompt testing the ability to explain stochastic processes in plain language, including intuition, examples, difference from a si...

Statistics & Math
3
0
25 people solved
Jul 5, 2025