Fundamentals
/
Optimizing Box Weights
⏸
00:00
↻
← Prev
Next →
▶
Question
Given an array of box weights, return the smallest subset (by count) whose total weight is strictly greater than the rest. If sizes tie, prefer the larger total weight. Return the subset sorted ascending.
▶
Understand
▶
Approach
▶
My Code
▶
Reference Solution
Compare
13