2 lines of code faster than 78.26% of C++ online submissions
\n int maxProductDifference(vector<int>& nums) {\n        sort(nums.begin(),nums.end());\n        return nums[nums.size()-1]*nums[nums.size()-2]-nums[0]*nums[1]
```\n int maxProductDifference(vector<int>& nums) {\n        sort(nums.begin(),nums.end());\n        return nums[nums.size()-1]*nums[nums.size()-2]-nums[0]*nums[1];\n    }\n```
[]