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

Implement LRUCache with O(1) Operations and Thread Safety

Scenario High-traffic API needs constant-time eviction cache. Question Implement an LRUCache supporting get(key) and put(key,val) in O( 1). Describe ...

Coding & Algorithms
16
0
62 people solved
Jul 12, 2025
Pinterest logo
Pinterest
Medium
Data Scientist

Implement Function to Return First n Prime Numbers

Scenario Quick algorithm screen to gauge Python fluency. Question Implement a Python function that returns the first n prime numbers. Hints An optimiz...

Coding & Algorithms
10
0
38 people solved
Jul 12, 2025
Robinhood logo
Robinhood
Medium
Data Scientist

Analyze Transaction Flow and User Engagement Efficiently

transactions +---------------+-------------+------------+--------+ | transaction_id| from_user_id| to_user_id | amount | +---------------+------------...

Data Manipulation (SQL/Python)
49
0
4 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
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
Medium
Data Scientist

Expected round of first selection in repeated sampling

Random Perk Selection: Expected First Round There are 1,000 employees. Each round, 10 distinct employees are selected at random for a perk. No one can...

Analytics & Experimentation
13
0
36 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
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
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

Implement Function to Determine Mode and Prime Numbers

Scenario Implementing utility algorithms within a data-processing library. Question Write a function that returns the mode of an integer list; if all ...

Coding & Algorithms
19
0
56 people solved
Jul 12, 2025
Yahoo logo
Yahoo
Medium
Data Scientist

Solve Data Structure Challenges with Python Algorithms

Scenario You are given coding challenges in Python to manipulate simple data structures. Question Remove duplicates from a list of integers while pres...

Coding & Algorithms
54
0
102 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Evaluate Facebook's Restaurant Recommendations Feature Effectiveness

Experiment Design: Restaurant Recommendations in Facebook News Feed Facebook is considering restaurant recommendation units inside News Feed, such as ...

Analytics & Experimentation
12
0
36 people solved
Jul 12, 2025
PayPal logo
PayPal
Medium
Data Scientist

Describe Leading Without Authority in Data Management

Behavioral Interview: Leading Without Authority in Data Management You will be assessed on cultural fit and how you operate in ambiguous, messy data e...

Behavioral & Leadership
30
0
75 people solved
Jul 12, 2025
OneMain Financial logo
OneMain Financial
Medium
Data Scientist

Solve Python Challenges: Reverse String, Palindrome, Fibonacci, Unique List

Scenario Live coding round – four quick Python exercises Question Implement a function that reverses a string in-place. Write code that returns True i...

Coding & Algorithms
8
0
22 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

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
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
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