python | basic
```\nclass Solution:\n    def maxProductDifference(self, nums: List[int]) -> int:\n        nums.sort(reverse=True)\n        return nums[0]nums[1]-nums[-1]nums[-
```\nclass Solution:\n    def maxProductDifference(self, nums: List[int]) -> int:\n        nums.sort(reverse=True)\n        return nums[0]*nums[1]-nums[-1]*nums[-2]
[]