Solve SQL and Python Data Manipulation Tasks
Company: Adobe
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Onsite
Overview: This question evaluates proficiency in SQL event-log aggregation and basic Python data-structure transformations, assessing competencies such as counting distinct users, identifying frequent event types, and performing dictionary/list/string manipulations.
Tables
UserEvents(id INTEGER, user_id INTEGER, event_type VARCHAR(50), event_date DATE)
Hints
- Use COUNT(DISTINCT user_id) for DAU.
- Tie-break top event types deterministically when counts are equal.