Disjoint subsequences in an array with maximum difference