Loading...

The Crowd Favorite Eatery

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 dict mapping restaurant names to lists of review strings. Return the name of the restaurant with the most reviews. If there is a tie, return either name.

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.