Assign Chefs to Dishes to Maximize Profit

Asked at DoorDash · Coding Questions · Difficulty: Medium · Last asked May 11, 2026

A kitchen has several chefs and several dishes. Each chef cooks at most one dish, and only a dish that is not too hard for that chef. Any number of chefs may cook the same dish, and every chef who cooks a dish earns that dish's full profit. Find the largest total profit the chefs can earn together.

Loading the problem…