Sample Input:
4 (number of elements of the array)
14 25 78 96 (array elements)
Sample Output:
7
Explanation:
S1 = {96, 14}
S2 = {78, 25}
Sum of S1 = 110
Sum of S2 = 103
|S1 – S2| = 7
@@coding::1@@
Recommended Programs