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

Implement Real-Time Rate Limiting for Web Service Requests

Scenario A web service must throttle traffic from clients; you need to decide in real-time whether each incoming request should be served or rejected ...

Coding & Algorithms
18
0
57 people solved
Jul 12, 2025
TikTok logo
TikTok
Medium
Data Scientist

Optimize Station Sequence for Maximum Car Output in Simulation

Scenario The Car-Building mini-game lets you sequence chassis, engine, and paint stations with limited buffers. Question Describe a strategy to maximi...

Coding & Algorithms
10
0
32 people solved
Jul 12, 2025
Amazon logo
Amazon
Medium
Data Scientist

Consolidate and Rank Global Salaries in USD

employees_us +---------+----------+--------+---------+ | emp_id | name | salary | country | +---------+----------+--------+---------+ | 1 |...

Data Manipulation (SQL/Python)
49
0
8 people solved
Jul 12, 2025
Coinbase logo
Coinbase
Medium
Data Scientist

Calculate Cumulative Sum for Each Integer in Table

numbers +-----+ | num | +-----+ | 1 | | 2 | | 13 | | 14 | | 15 | +-----+ Scenario You have a table containing one integer per row; for each row...

Data Manipulation (SQL/Python)
13
0
3 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
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
Point72 logo
Point72
Medium
Data Scientist

Determine Most Frequent Product Color in Carts

Scenario Online store wants to know which color of product appears most frequently in customers’ carts. Question Implement a function getMaxColor(colo...

Coding & Algorithms
30
0
100 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

Calculate Recent Post Views and Reactions for Social Media

info_stream_views +---------+-----------+--------------+----------+------------+ | post_id | viewer_id | relationship | duration | ds | +-----...

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

Analyze VR App Usage and Engagement Metrics

vr_usage +---------+------------+---------+------------+----------+ | user_id | date | app_id | session_id | duration | +---------+------------...

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

Find Maximum Sum of Contiguous Subarray Length k

Scenario Monitoring website traffic and needing the highest traffic within any fixed-length time window. Question Given an array of positive integers ...

Coding & Algorithms
19
0
58 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Calculate French User Engagement and U.S. Call Duration

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

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

Design Algorithm to Minimize Payments in Expense-Sharing App

Scenario Expense-sharing app needs to settle debts among friends after a trip. Question Given a list of transactions (payer, payee, amount), design an...

Coding & Algorithms
28
0
94 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
Amazon logo
Amazon
Medium
Data Scientist

Calculate Weekly, Monthly Watch Hours for Paid Users

video_view_logs +---------+----------+----------------+------------+------------+ | user_id | video_id | watched_seconds| watch_date | device_type| +-...

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

Maximize Non-Overlapping Task Scheduling Efficiency

Scenario Job scheduler on a single machine wants to maximise throughput. Question Given tasks with [start, end) times, return the maximum number of no...

Coding & Algorithms
13
0
8 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Determine Facebook's Restaurant Recommendation Viability Using Data

Determine Facebook's Restaurant Recommendation Viability Using Data Facebook may launch a restaurant-recommendation product that helps people discover...

Analytics & Experimentation
6
0
28 people solved
Jul 12, 2025