Subset sum problem
The subset sum problem (SSP) is a decision problem in computer science. In its most general formulation, there is a multiset
S
{\displaystyle S}
of integers and a target-sum
T
{\displaystyle T}
, and the question is to decide whether any subset of the integers sum to precisely
T
{\displaystyle T}
.[1] The problem is known to be NP-hard. Moreover, some restricted variants of it are NP-complete too, for example:[1]
https://en.wikipedia.org/wiki/Subset_sum_problem