Spring Hire Sale
Limited Time Deal: Unlock all premium questions for over 30% off
$10.42$7.08
08
:
03
:
08
:
59
Back to Dashboard
Weight Partition Check
Medium
Weight Partition Check
You are given a list of distinct positive integer weights and a capacity value. Determine whether any subset of the weights sums exactly to the capacity. Each weight can be used at most once. ...