vishal8113 / Hacktoberfest-2024

This repository is waiting for your contribution. If you have not contribute in hacktober fest till now. You can start contributing in open source from here.
3 stars 25 forks source link

Create Knapsack_problem.cpp #18

Closed Smriti-Prajapati closed 3 days ago

Smriti-Prajapati commented 3 days ago

Problem Statement: Given a set of items, each with a weight and a value, determine the subset of items to include in a knapsack of limited capacity to maximize the total value.