maximum possible difference of two subsets of an array