done subset sum problem (DP)