Available question text
Partition a small array of cookie counts (n ≤ 8) into exactly k groups (each bag assigned whole) to minimize the maximum group sum — i.e., find a k-way partition that minimizes the largest subtotal. This is a combinatorial partitioning problem often solved by backtracking with pruning or bitmask DP.
Related questions
Continue with questions that share topics or the same question type.
- Assign Cookies
Coding
- Closest Fair Integer
Coding
- Count the Number of Fair Pairs
Coding
- Fair Candy Swap
Coding
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 2305. Fair Distribution of Cookies
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source