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

Design Efficient Multi-Level Access Control System

Scenario Multi-level access control lists (country → city) must be queried quickly. Question Design and implement a permission system where each geogr...

Coding & Algorithms
7
0
6 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
Amazon logo
Amazon
Medium
Business Intelligence Engineer

Analyze Top Book Sales and Unique Customer Purchases

BOOK_TRANSACTION +---------------+------------+-------------+------+----------+ | MARKETPLACE_ID| TXN_DAY | CUSTOMER_ID | ASIN | QUANTITY | +------...

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

Analyze Hashtag Follow Behavior with SQL Queries

following_behavior +------------+---------+-----------+---------------+ | date | user_id | hashtag_id| hashtag_source| +------------+---------+-...

Data Manipulation (SQL/Python)
5
0
26 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
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
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
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
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

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

Count, Return, Find, and Select in SQL Queries

orders +----------+--------------+------------+--------+ | order_id | customer_id | order_date | amount | +----------+--------------+------------+---...

Data Manipulation (SQL/Python)
78
0
197 people solved
Jul 12, 2025
Capital One logo
Capital One
Medium
Data Scientist

Determine Country with Most 'Sunny' Days

Weather +------------+------------+---------+ | country | date | weather | +------------+------------+---------+ | Spain | 2023-07-01 | ...

Data Manipulation (SQL/Python)
54
0
174 people solved
Jul 12, 2025
TikTok logo
TikTok
Medium
Data Scientist

Maximize Distinct Purchases Within Budget Constraints

Scenario Given a customer budget and a list of product prices, determine the maximum number of distinct products the customer can afford. Question Des...

Coding & Algorithms
28
0
52 people solved
Jul 12, 2025
TikTok logo
TikTok
Medium
Data Scientist

Identify Top Discounts and Monitor Code Submissions

Products +------------+----------+-------+----------+ | product_id | category | price | discount | +------------+----------+-------+----------+ | 101 ...

Data Manipulation (SQL/Python)
69
0
269 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
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
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