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

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

Analyze User Flags and Review Outcomes for Moderation Prioritization

UserFlags +---------------+--------------+----------+---------+ | User_FirstName| User_LastName| Video_ID | Flag_ID | +---------------+--------------+...

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

Calculate Weekly CTR and Campaign-Specific CTR in SQL

AdEvents ad_id | campaign_id | event | view_id | event_date 1 | 10 | impression | 123 | 2023-11-07 1 | 10 | cli...

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

Determine Old vs. New Users' Shop Visibility Changes

SHOP_VISIBILITY_HISTORY +----------+----------------+---------------------+-------------------+---------+ | user_id | user_signup_dt | action_timesta...

Data Manipulation (SQL/Python)
61
0
5 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
Amazon logo
Amazon
Medium
Data Scientist

Identify Top Spenders and Segment Customers Using Python

orders +----------+---------+------------+----------+--------------+-------------------+ | order_id | cust_id | order_date | product | order_amount |...

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

Explore Subscription Patterns and Status Transitions with SQL/Pandas

subscriptions +-----------------+---------+-------------+ | subscription_id | status | status_date | +-----------------+---------+-------------+ | 10...

Data Manipulation (SQL/Python)
67
0
7 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
Meta logo
Meta
Medium
Data Scientist

Design SQL Query for Shop Visibility and User Activity Metrics

SHOP_VISIBILITY +----------+---------+------------+------------+-------------+--------------+ | user_id | shop_id | event_date | is_visible | signup_...

Data Manipulation (SQL/Python)
78
0
180 people solved
Jul 12, 2025
Snapchat logo
Snapchat
Medium
Data Scientist

Monitor Friend-Request System for Quality and Abuse

Friendship +--------------+-------------+---------------------+---------------------+ | requester_id | approver_id | request_ts | approval_ts...

Data Manipulation (SQL/Python)
111
1
350 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
Meta logo
Meta
Medium
Data Scientist

Analyze New Shops' Activity Compared to Existing Ones

shops +---------+------------+---------------+ | shop_id | created_at | category | +---------+------------+---------------+ | 1 | 2024-01-0...

Data Manipulation (SQL/Python)
53
0
8 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
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
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 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
Google logo
Google
Medium
Data Scientist

Implement Sampling and Minimize Loss in Numerical Coding

Scenario Numerical coding challenges on sampling and loss minimization. Question a) Implement functions to sample from truncated normal distributions ...

Coding & Algorithms
24
0
91 people solved
Jul 12, 2025
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