Restaurant Menu Rating Tracker

Asked at Verkada · Coding Questions · Difficulty: Medium · Last asked Jul 15, 2026

Build an in-memory tracker for restaurants and the ratings of the foods on their menus. It records food ratings, changes them over time, and answers two questions: which restaurant currently has the single best-rated food, and which food is best in a given restaurant.

Loading the problem…