Loading...
The Silver Screen Summit
A medium Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- medium
- Seniority
- junior, mid
Problem
You have a list of movie records, each containing an actor name and box office earnings. Some actors appear in multiple movies. Return the top N actor names ranked by their total box office earnings across all films, from highest to lowest.
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.