Available question text
Assign each of n cheeses to one of two mice so the first mouse eats exactly k items and the total reward (reward1 for first, reward2 for second) is maximized. The core challenge is selecting the k indices that maximize the net gain reward1[i]−reward2[i] (e.g., choose the k largest differences and sum appropriately).
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2611. Mice and Cheese
Interview date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source