Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
class default
import { default } from "https://deno.land/x/masx200_leetcode_test@10.2.0/design-a-food-rating-system/index.ts";

Constructors

new
default(
foods: string[],
cuisines: string[],
ratings: number[],
)

Methods

changeRating(food: string, newRating: number): void
highestRated(cuisine: string): string