About 189,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 total weight …

  2. Introduction to Knapsack Problem, its Types and How to solve them

    Jul 23, 2025 · The Fractional Knapsack problem can be defined as follows: Given the weights and values of N items, put these items in a knapsack of capacity W to get the maximum total value in the …

  3. 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.

  4. Knapsack Problem - Algorithms for Competitive Programming

    The complete knapsack model is similar to the 0-1 knapsack, the only difference from the 0-1 knapsack is that an item can be selected an unlimited number of times instead of only once.

  5. DSA The 0/1 Knapsack Problem - W3Schools

    To solve the 0/1 Knapsack Problem you must figure out which treasures to pack to maximize the total value, and at the same time keeping below the backpack's weight limit.

  6. Three versions of Knapsack: which one is the easiest?

    unbounded knapsack: You take a bag of limited capacity and go to a Costco-like big supermarket where every product has unlimited supply (thus the name “unbounded”).

  7. Knapsack is a core problem to Dynamic Programming, and it’s pretty easy to under-stand. Knapsack is a hard problem though; we don’t have or believe there is a polynomial time solution. It’s also a good …

  8. 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 of the loot …

  9. Amazon.com: Knapsack

    Whether you're heading to the gym or the office, a reliable knapsack can make all the difference. Explore durable, organizational options to simplify your day.

  10. KNAPSACK Definition & Meaning | Dictionary.com

    KNAPSACK definition: a canvas, nylon, or leather bag for clothes, food, and other supplies, carried on the back by soldiers, hikers, etc. See examples of knapsack used in a sentence.