Problem statement Sum of Pairs
But according to the one of the solution that I copied from the submission board, the answer for the following array:
47, 44, 62, 57, 37
is 4. Is it correct? I just can’t see any subset of length 4 which satisfies the above condition. So could anyone shed me a light on this problem? Thanks.