Identify Users Interested in Group Video Calls
Company: Meta
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Onsite
Overview: This question evaluates a data scientist's ability to perform SQL-based event-level data manipulation, aggregation, joins, and user-level feature derivation from call logs and user attribute tables.
Tables
video_calls(caller VARCHAR(50), recipient VARCHAR(50), ds DATE, call_id VARCHAR(50), duration INTEGER)
dim_all_users(user_id VARCHAR(50), age_bucket VARCHAR(10), country VARCHAR(2), primary_os VARCHAR(20), dau_flag INTEGER, ds DATE)
Hints
- First aggregate the call logs by caller and ds to count distinct recipients.
- Use COUNT(DISTINCT recipient) grouped by caller and ds; filter where this count is at least 2.