Statement
Lemma
Subset-sum problem is in NP.
Proof
It is of the format to be a search problem as it either returns a result or it says no such result exists.
Suppose we are given an instance
this takes
Lemma
Subset-sum problem is in NP.
It is of the format to be a search problem as it either returns a result or it says no such result exists.
Suppose we are given an instance
this takes