I want to comparing elements in an array. For each element, starting from left to right, find the first next integer (y) with a value greater than the existing one (x), the