Dictionary.com
Thesaurus.com

knapsack problem

American  

noun

Mathematics.
  1. the problem of determining which numbers from a given collection of numbers have been added together to yield a specific sum: used in cryptography to encipher (and sometimes decipher) messages.


Etymology

Origin of knapsack problem

So called because the problem is similar to determining what packages are in a closed knapsack when the weights of the individual packages and the filled knapsack are known


Example Sentences

Examples are provided to illustrate real-world usage of words in context. Any opinions expressed do not reflect the views of Dictionary.com.

See Examples For:

If you come up with a fast way to do the knapsack problem, you could directly apply that algorithm to the Traveling Salesman problem and vice versa.

From Slate ● Feb. 9, 2016

Random Word

Spin the wheel and learn a new word!

Get a word

Vocabulary.com logo
by dictionary.com

Just like flashcards, but way more fun

Don't take our word for it. Leave the boring studying behind and join VocabTrainer today. You'll learn even faster and never look back.

Take me to Vocabulary.com