Where the Hours Go
A medium spark interview practice problem on DataDriven. Write and execute real spark code with instant grading.
- Domain
- spark
- Difficulty
- medium
- Seniority
- mid
Problem
We run a streaming platform and want to know where our viewers actually spend their time, counting the seconds of every session they open. Break that total down by the kind of device they watch on, most time first.
Practice This Problem
Solve this spark problem with real code execution. DataDriven runs your solution and grades it automatically.