during my exam preparation, i have found this question which i am unable to solve nor find a solution on the web. I have been struggling for a couple of hours trying to figure this one out with no luck.
the problem goes as follows: given a black box that returns true if there exists 2 subsets T and S/T of a set S with equal sum and false if there isn't, in polynomial time.
suppose you are given a set S and the above black box find a subset T where the sum of T and the sum of (S/T) are equal.
thanks in advance.