← Wipro questions
CodingMedium

Knapsack Problem

Filed under Wipro

Given N items, each with a weight and a value, and a knapsack with a maximum weight capacity W. Determine the maximum total value you can achieve by selecting a subset of items such that their total…

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 Wipro questions

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