JAVA | EASY
class Solution {\n    public int maxProductDifference(int[] nums) {\n        \n        Arrays.sort(nums);\n        return (nums[nums.length - 1] * nums[nums.len
class Solution {\n    public int maxProductDifference(int[] nums) {\n        \n        Arrays.sort(nums);\n        return (nums[nums.length - 1] * nums[nums.length - 2])-(nums[0] * nums[1]);\n    }\n}
[]