Skip to content

Solve the knapsack problem #67

Open
@ismaelsadeeq

Description

@ismaelsadeeq

You are presented with a set of N items, each with its own weight and profit. Additionally, you have a bag with a limited capacity of W, meaning it can only hold items with a total weight not exceeding W. The objective is to strategically select items to place in the bag in order to maximize the total profit derived from those items.

Hint: understand Knapsack problem
Follow contributing guidelines in a proposed PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions