you give integer n represent length unknown array try recover you give array sum contain value 2n subset sum unknown array particular orderreturn array an length n represent unknown array if multiple answer exist return themAn array sub subset array arr sub obtain arr delete possibly zero element arr the sum element sub possible subset sum arr the sum array consider 0note test case generate correct answer Example 1input n 3 sum 32100123output 123explanation 123 able achieve give subset sum sum 0 1 sum 1 2 sum 2 12 sum 3 3 sum 3 13 sum 2 23 sum 1 123 sum 0note permutation 123 permutation 123 acceptedExample 2Input n 2 sum 0000output 00explanation the correct answer 00example 3input n 4 sum 0055414991434838output 0145explanation 0145 able achieve give subset sum Constraints1 n 15sumslength 2n104 sumsi 104