Analyze Top Call Initiators and Active French Video Callers
Company: Meta
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Technical Screen
Overview: This question evaluates proficiency in SQL-based data manipulation and analytics—specifically aggregation, grouping, time-window filtering, and percentage calculations—by asking for the top call initiators over the last seven days and the proportion of active users in France on video calls yesterday, and is categorized under Data Manipulation (SQL/Python) for a Data Scientist role with a focus on practical application. It is commonly asked in technical interviews to assess a data scientist's ability to extract actionable engagement metrics from event logs, reason about temporal windows and population denominators, and produce accurate, explainable reporting from production-style datasets.
Top 10 Call Initiators (2025-05-26 to 2025-06-01)
Tables
calls(call_id INTEGER, caller_id INTEGER, receiver_id INTEGER, call_start_time TIMESTAMP, country VARCHAR(100), call_type VARCHAR(20))
Hints
- Filter calls using a fixed date window: call_start_time >= DATE '2025-05-26' AND call_start_time < DATE '2025-06-02'.
- GROUP BY caller_id, ORDER BY call_count DESC, and LIMIT 10.
France Video Active Users Percentage on 2025-05-31
Tables
calls(call_id INTEGER, caller_id INTEGER, receiver_id INTEGER, call_start_time TIMESTAMP, country VARCHAR(100), call_type VARCHAR(20))
Hints
- Include both caller_id and receiver_id by UNION ALL to define the set of active users on 2025-05-31.
- Filter by country = 'France' and the fixed window call_start_time >= DATE '2025-05-31' AND call_start_time < DATE '2025-06-01'.