Q80
MCQ2 marks, −0.5The subset-sum problem is defined as follows. Given a set of positive integers, , and positive integer , is there a subset of whose elements sum to ? A dynamic program for solving this problem uses a Boolean array, , with rows and columns. , is TRUE, if and only if there is a subset of whose elements sum to . Which of the following is valid for , and ?
Sign in to save attempts.
Loading…