Loading...
The Minutes Tracker
A easy Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- easy
- Seniority
- junior, mid
Problem
Write a function that takes a user record dict with a 'name', 'email', and 'activities' key. The activities value is a list of dicts, each with 'type' and 'minutes' fields. Return the total minutes across all activities.
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a sandboxed Docker environment and grades it instantly.