You have items with weights and values and a bag with a weight capacity. Each item can be taken at most once. Maximise the total value.
Unlock this and every premium problem across all tracks — plus hidden-test grading, advanced AI engineering modules and new content every week.
Start 7-day free trial