HardThe difficulty is Hard, because the solution involves advanced windowing techniques to analyze temporal data, requiring the extraction of sequential timestamps and calculation of time differences across various states within each user's session. Additionally, it requires the use of complex multi-step grouping, filtering, and time calculations that add layers of complexity.
ID 2136
0
Given users' session logs, calculate how many hours each user was active in total across all recorded sessions.
This question is part of a paid planUnlock the full question bank, official solutions and other users’ approaches.Unlock this question5-day money-back guarantee · Cancel anytime