Tech Interview Questions

Practice 9,555+ interview questions from top companies including Google, Meta, Amazon, and more. Filter by company, role, and category.

Popular Interview Questions

Interview Questions

Practice the exact questions companies are asking right now.

9.6k Questions 505 Companies08.05.2026
Showing 20 results
Role
Pinterest logo
Pinterest
Medium
Data Scientist

Implement Binary Search for Policy Violation Logs

violations +--------+---------+---------------+ | pin_id | type | violation_date| +--------+---------+---------------+ | 0 | spam | 2022-01...

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

Calculate Survey Response Rate and Quality Metric in SQL

survey_responses +---------+----------+---------------------+---------------------+-------+ | user_id | survey_id| impression_ts | click_ts ...

Data Manipulation (SQL/Python)
70
0
159 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
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
Capital One logo
Capital One
Medium
Data Scientist

Explain Python Virtual Environment Setup and Function Analysis

Scenario Technical screen where candidate and interviewer jointly walk through Python code snippets used in a data-science repository. Question Show h...

Coding & Algorithms
57
0
9 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Analyze Recent User Engagement in Video Calls

calls +-----------+-----------+---------------------+---------+---------+ | caller_id | callee_id | call_start_timestamp| country | call_id | +-------...

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

Analyze Recent Calling Behavior in France Using SQL

CALLS +---------+---------+---------------------+-------------------+----------+ | call_id | user_id | call_start_time | participant_cnt | is_vi...

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

Analyze User Engagement Metrics for Video-Calling App

Calls +--------+-----------+------------+---------+----------+ | caller | recipient | ds | call_id | duration | +--------+-----------+--------...

Data Manipulation (SQL/Python)
69
0
195 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
Pinterest logo
Pinterest
Medium
Data Scientist

How to Design a Proportional Randomized Sampler?

Scenario Randomized promotion engine must pick an item proportional to its score, but scores have no upper bound. Question Design a sampler pick() tha...

Coding & Algorithms
21
0
52 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
41 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Expected meetings in Room 1 after random assignment

Expected Meetings in Room 1 Conditional on Being Non-empty There are N rooms and k meetings. Each meeting independently chooses a room uniformly at ra...

Analytics & Experimentation
12
0
32 people solved
Jul 12, 2025
Pinterest logo
Pinterest
Medium
Data Scientist

Implement DelayQueue with Idempotent Task Execution

Scenario Message broker offers DelayQueue where tasks execute at future timestamps, ensuring idempotency on duplicate IDs. Question Implement a delay ...

Coding & Algorithms
28
0
68 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Design "Restaurants You May Know" Recommendation Algorithm

Design "Restaurants You May Know" Recommendation Algorithm A food-delivery app wants to launch a personalized home-page module called "Restaurants You...

Analytics & Experimentation
36
0
126 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
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
Netflix logo
Netflix
Medium
Data Scientist

Identify Longest Consecutive Incrementing Watch-Time Sequence

Scenario A streaming platform records daily minutes watched per user and wants to identify engagement streaks. Question Given an unsorted integer arra...

Coding & Algorithms
19
0
52 people solved
Jul 12, 2025
Roblox logo
Roblox
Medium
Data Scientist

Implement Python Function for Statistical Test P-Values

Scenario You need a utility that calculates p-values for one-sided and two-sided statistical tests. Question Write a Python function compute_p_value(s...

Coding & Algorithms
14
0
47 people solved
Jul 12, 2025
TikTok logo
TikTok
Medium
Data Scientist

Optimize Job Routing in Parallel Machine Scheduling

Scenario In the Production Factory game, jobs with varying processing times arrive and must be routed through two parallel machines to minimize total ...

Coding & Algorithms
23
0
44 people solved
Jul 12, 2025
Amazon logo
Amazon
Medium
Data Scientist

Design Incremental Load Process for Large Relational Table

orders_daily_load +------------+-----------+-------------+--------+ | load_date | order_id | customer_id | amount | +------------+-----------+------...

Data Manipulation (SQL/Python)
86
0
213 people solved
Jul 12, 2025