← ALL NOTES
Array

2353. Design a Food Rating System

Design FoodRatings, initialized with foods, their cuisines, and ratings. changeRating(food, newRating) updates a food's rating; highestRated(cuisine) returns that cuisine's highest-rated food,…

Loading…