← Barclays questions
CodingReported in a candidate post, Nov 2018

Package of things with weight limit and maximum cost

Filed under Barclays

Given a package weight limit and up to 15 items, each with an index, a weight and a cost, choose a set of items whose total weight is within the limit and whose total cost is maximal. If several sets…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Barclays questions

Collected from public candidate posts and coding forums. Updated Nov 2026.