• + 2 comments

    hint1 : the problem is a variation of dividing a set of into two subsets such that the difference between the sum of sets is minimum

    hint2 : recursive approac will time out, use iterative approach