About 223,000 results
Open links in new tab
  1. Knapsack problem - Wikipedia

    The knapsack problem is the following problem in combinatorial optimization: Given a set of items, each with a weight and a value, determine which items to include in the collection so that the …

  2. 0/1 Knapsack Problem - GeeksforGeeks

    Mar 12, 2025 · Given the weights and values of n items, the task is to put these items in a knapsack of capacity W to get the maximum total value in the knapsack, we can repeatedly …

  3. Knapsack Vs Backpack (What’s The Difference?)

    Nov 3, 2021 · In this guide, we’ll explain the key differences between a knapsack vs backpack and some things to take into consideration when choosing between the two. What is a Knapsack? …

  4. KNAPSACK Definition & Meaning - Merriam-Webster

    The meaning of KNAPSACK is a bag (as of canvas or nylon) strapped on the back and used for carrying supplies or personal belongings : backpack. How to use knapsack in a sentence.

  5. DSA The 0/1 Knapsack Problem - W3Schools

    The 0/1 Knapsack Problem states that you have a backpack with a weight limit, and you are in a room full of treasures, each treasure with a value and a weight. To solve the 0/1 Knapsack …

  6. Understanding the Knapsack Problem and Solutions

    The Knapsack Problem is named after a scenario where a thief has a knapsack (or backpack) with a limited weight capacity and must decide which items to steal to maximize the total value …

  7. Knapsack Problem - Algorithms for Competitive Programming

    There are $n$ distinct items and a knapsack of capacity $W$. Each item has 2 attributes, weight ($w_{i}$) and value ($v_{i}$). You have to select a subset of items to put into the knapsack …

  8. KNAPSACK | English meaning - Cambridge Dictionary

    KNAPSACK definition: 1. a bag carried on the back or over the shoulder, used especially by people who go walking or…. Learn more.

  9. The Knapsack Problem - A Complete Tutorial for Beginners

    May 8, 2024 · For the knapsack problem, you’ll start by solving the problem for smaller knapsacks (or “sub-knapsacks”) and then work up to solving the original problem. Every dynamic …

  10. Solving the Knapsack Problem: A Classic Challenge in Optimization

    What Is the Knapsack Problem? The Knapsack Problem is an optimization problem that involves selecting a subset of items to maximize value while staying within a weight or capacity …

Refresh