Skip to content

Latest commit

 

History

History
14 lines (13 loc) · 1.13 KB

File metadata and controls

14 lines (13 loc) · 1.13 KB

Category-1

SubSetSum Problem

  1. Sub set sum
  2. Equal Subset Sum Partition (medium)
  3. :atom: Minimum Subset Sum Difference (hard)
  4. Count of Subset Sum (hard)
  5. :atom: Target Sum (hard)
  6. ❗ Unbounded KS Coin Change

All the above problems are same in nature and also in computation:

  1. Time and Space Complexity of all the problem is O(N * S). Where N is number of items and S is the Sum.
  2. Only the two from the above prefixed with :atom: are bit different from the traditional subset sum approach, otherwise all are same.
  3. In all subset problems : condtion to exclude the item comes before include item condition.
  4. In all subset related problem the problem starts with identifying the SUM ,then identifying subproblems to achieve the target sum.