</>OfferRetriever
DashboardDiscuss
NEW

July 4th Sale

Limited Time Deal: Unlock all premium questions for over 40% off

$10.42$6.25

10

:

09

:

26

:

02

Get this deal
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. ...