Calculate Video Call Usage Metrics by Country and Date
Company: Meta
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Technical Screen
Overview: This question evaluates data manipulation and product-analytics skills, focusing on joining user and call datasets, aggregations for distinct-user percentages, and per-DAU duration calculations.
Tables
video_calls(caller VARCHAR, recipient VARCHAR, ds DATE, call_id VARCHAR, duration DECIMAL(10,1))
users(user_id VARCHAR, age_bucket VARCHAR, country VARCHAR, primary_os VARCHAR, dau_flag INTEGER, ds DATE)
Hints
- Use users.ds snapshots for 2025-05-31 (France) and 2025-06-01 (US) when filtering.
- For the France metric, the denominator is distinct FR users on 2025-05-31; the numerator is distinct FR callers on that date.