Dynamic Programming 5

0. Which entry of the array X, if TRUE, implies that there is a subset whose elements sum to W?

  • Option : C
  • Explanation :
    If we get the entry x[n, w] as true then there is a subset of {a1, a2 ...... an} that has sum as.W.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *