Loading...

The Top Reviewer

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

Given a dictionary mapping restaurant names to lists of reviews, return the name of the restaurant with the most reviews. If there is a tie, return any one of the tied restaurants. The dictionary is guaranteed to be non-empty.

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.