Netflix Data Manipulation (SQL/Python) Interview Questions

Practice the exact questions companies are asking right now.

6 Questions 1 Company10.13.2025
Showing 6 results
Role
Netflix logo
Netflix
Medium
Machine Learning Engineer

Transform flat keys into nested dictionary

You are given a flat collection of parameter keys like ['layer1.attention.q_proj.weight', 'layer1.attention.k_proj.weight', 'layer1.mlp.fc1.weight', ....

Data Manipulation (SQL/Python)
7
0
119 people solved
Aug 13, 2025
Netflix logo
Netflix
Medium
Data Scientist

Determine Maximum Consecutive Order Days Per User

Determine Maximum Consecutive Order Days Per User orders +----+---------+------------+ | id | user_id | order_date | +----+---------+------------+ | ...

Data Manipulation (SQL/Python)
61
0
139 people solved
Jul 12, 2025
Netflix logo
Netflix
Medium
Data Scientist

Write SQL for DAU and first-purchase conversion

Today is 2025-09-01. Using the schema and sample data below, write a single ANSI-SQL query that returns one row per day for the last 7 days (2025-08-2...

Data Manipulation (SQL/Python)
22
0
177 people solved
Oct 13, 2025
Netflix logo
Netflix
Medium
Data Scientist

Write SQL for rolling frequency caps

You work on ad serving with per-user rolling 7-day frequency caps at the campaign level. Assume "today" is 2025-09-01 and t0 = 2025-09-01 12:00:00 UTC...

Data Manipulation (SQL/Python)
0
0
11 people solved
Oct 13, 2025
Netflix logo
Netflix
Medium
Data Scientist

Aggregate D1 retention cohorts in SQL

Today is 2025-09-01. Using SQL (optionally outline a pandas approach too), compute daily engagement and D1 retention for the last 7 days (2025-08-26 t...

Data Manipulation (SQL/Python)
10
0
131 people solved
Oct 13, 2025
Netflix logo
Netflix
Medium
Data Scientist

Analyze Retention Metrics Using SQL and Python

transactions +----------+--------+------------+---------+-----------+ | user_id | txn_id | txn_date | amount | is_fraud | +----------+--------+--...

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

Explore more Netflix Data Manipulation (SQL/Python) interview questions

Real questions from candidate reports, grouped by role, topic and company.

Other categories at Netflix
Data Manipulation (SQL/Python) questions at other companies
Browse all