Tech Interview Questions

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

Popular Interview Questions

Machine Learning Engineer + Data Scientist + Software Engineer Interview Questions

Practice the exact questions companies are asking right now.

9.0k Questions 480 Companies08.05.2026
Showing 20 results
Role
Meta logo
Meta
Medium
Data Scientist

Calculate Daily Harmful Content View Percentage

VIDEOS +----+-------------+------------+ | id | uploader_id | is_harmful | +----+-------------+------------+ | 1 | 101 | true | | 2 | ...

Data Manipulation (SQL/Python)
0
1
7 people solved
Aug 4, 2025
Meta logo
Meta
Medium
Data Scientist

Analyze Social Media Engagement with SQL Queries

info_stream_views +----------+---------+-----------+-------------------------+-----------------------+------------+ | view_id | post_id | viewer_id |...

Data Manipulation (SQL/Python)
0
0
7 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Data Scientist

Resolve Team Conflicts and Deliver Beyond Project Scope

Resolve Team Conflicts and Deliver Beyond Project Scope Behavioral Case: Team-Based Data Science Collaboration, Scope, and Customer Interaction Instru...

Behavioral & Leadership
2
0
36 people solved
Aug 4, 2025
Capital One logo
Capital One
Medium
Data Scientist

Critique and Test Python Preprocessing Utilities Effectively

Scenario Code review of Python preprocessing utilities (OutlierHandler and three Imputer classes) Question Summarize, at a high level, what the Outlie...

Coding & Algorithms
9
0
65 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Data Scientist

Identify Number Pairs Adding to Target in Array

Scenario Coding round to identify all number pairs that add up to a target in an array containing duplicates. Question Given an integer array (may con...

Coding & Algorithms
26
0
84 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Data Scientist

Determine Length of Longest Unique Substring

Scenario Online assessment: coding portion that follows the SQL questions. Question Implement a function that, given a string s, returns the length of...

Coding & Algorithms
4
0
30 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Data Scientist

Find Top-3 Salaries Per Department Using SQL

employees +----+---------+--------+---------+ | id | name | salary | dept_id | +----+---------+--------+---------+ | 1 | Alice | 120000 | 10 ...

Data Manipulation (SQL/Python)
0
0
2 people solved
Aug 4, 2025
Meta logo
Meta
Hard
Data Scientist

Identify Features for Fake News Detection on Facebook

Identify Features for Fake News Detection on Facebook Design a Machine-Learning System to Flag Fake News on Facebook Scenario An increase in fake news...

Machine Learning
32
0
96 people solved
Aug 4, 2025
Meta logo
Meta
Medium
Data Scientist

Identify Shops with Low Weekly Visibility Rates

SHOP_VISIBILITY +-----------+---------+------------+---------+ | shop_id | user_id | view_date | visible | +-----------+---------+------------+----...

Data Manipulation (SQL/Python)
0
0
2 people solved
Aug 4, 2025
Snapchat logo
Snapchat
Medium
Data Scientist

Compute User Retention and Analyze Event Data

user_events +---------+---------------------+------------+-------+ | user_id | event_time | event_type | page | +---------+-----------------...

Data Manipulation (SQL/Python)
87
0
304 people solved
Aug 4, 2025
Meta logo
Meta
Medium
Data Scientist

Calculate Response Rate and Compare New vs. Existing User Scores

survey_events +---------+------------+-----------+--------------+---------------------+ | user_id | is_new_user| responded | survey_score | event_time...

Data Manipulation (SQL/Python)
1
0
4 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Data Scientist

Ensure Correct Numeric Ordering in Visit ID Comparison

visits +----------+---------+-----------+---------------------+ | visit_id | user_id | page | visit_ts | +----------+---------+-------...

Data Manipulation (SQL/Python)
0
0
5 people solved
Aug 4, 2025
Meta logo
Meta
Medium
Data Scientist

Retrieve Top Five Ads by Conversions in 30 Days

ads ad_id | advertiser_id | created_at 1 | 101 | 2024-06-01 2 | 102 | 2024-06-03 3 | 101 | 2024-06-10 ​ ad_i...

Data Manipulation (SQL/Python)
87
0
473 people solved
Aug 4, 2025
Boston Consulting Group logo
Boston Consulting Group
Medium
Data Scientist

Merge and Clean Customer Order Data for Analysis

customers +----+---------+---------+ | id | name | country | +----+---------+---------+ | 1 | Alice | US | | 2 | Bob | UK | | 3 ...

Data Manipulation (SQL/Python)
0
0
7 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Data Scientist

Analyze User Engagement with SQL Queries

events +----------+---------+---------------------+ | event_id | user_id | event_time | +----------+---------+---------------------+ | 1 ...

Data Manipulation (SQL/Python)
104
0
275 people solved
Aug 4, 2025
Meta logo
Meta
Medium
Data Scientist

Forecast Next Year's Revenue Using YoY% Analysis

ad_revenue +------------+---------+ | date | revenue | +------------+---------+ | 2023-01-01 | 1000 | | 2023-01-02 | 1200 | | 2024-01-01 |...

Data Manipulation (SQL/Python)
1
0
2 people solved
Aug 4, 2025
Capital One logo
Capital One
Medium
Data Scientist

Calculate Longest Transaction Streak for Each User

transactions +---------------+---------+--------+----------------+-----------+----------+ | transaction_id| user_id | amount | transaction_date| merch...

Data Manipulation (SQL/Python)
0
0
8 people solved
Aug 4, 2025
CloudTrucks logo
CloudTrucks
Medium
Data Scientist

Assess Cultural Fit and Motivation for Joining CloudTrucks

Assess Cultural Fit and Motivation for Joining CloudTrucks Behavioral Interview — Data Scientist Phone Screen (CloudTrucks) Scenario A recruiter is as...

Behavioral & Leadership
1
0
15 people solved
Aug 4, 2025
Atlassian logo
Atlassian
Medium
Data Scientist

Identify Top-3 Users by Recent Total Spend

Users +----+-------+-------------+ | id | name | joined_date | +----+-------+-------------+ | 1 | Alice | 2023-01-02 | | 2 | Bob | 2023-02-14 |...

Data Manipulation (SQL/Python)
102
0
172 people solved
Aug 4, 2025
Amazon logo
Amazon
Medium
Data Scientist

Calculate Weekly, Monthly Hours Watched by Premium Users

watch_events +-----------+----------+----------------+-----------------------+----------------+ | user_id | video_id | watched_minutes| watched_at ...

Data Manipulation (SQL/Python)
0
0
4 people solved
Aug 4, 2025