Given an integer array nums, choose w, x, y, and z such that the product difference between pair (nums[w], nums[x]) and pair (nums[y], nums[z]) is maximized.
The product difference between two pairs
Return the maximum possible product difference.
Constraints:
nums.length
nums[i]
Given an integer array nums, choose w, x, y, and z such that the product difference between pair (nums[w], nums[x]) and pair (nums[y], nums[z]) is maximized.
The product difference between two pairs
Return the maximum possible product difference.
Constraints:
nums.length
nums[i]