← Questions
Total listener time per live audio room from an event log
0
I was asked this
No reports yet. Sign in to say where you were asked it.
A time-ordered log records rooms being created and users joining and leaving them. Compute the total user-time spent in each room, handling users who never leave and rooms that end. Follow-ups slice the same totals other ways.
No official answer yet. Write yours on the right and run it.
Nothing published yet.
Write and test your solution herePython in your browser, the question's tests level by level, saved for you.Sign in to start coding
