Easy Two line Answer
Intuition\n\n\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- T
# Intuition\n![image.png](https://assets.leetcode.com/users/images/bca85360-feff-477f-8964-9c19897ce524_1699417297.870615.png)\n\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:**75ms**\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity: **44.88MB**\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\n/**\n * @param {number[]} nums\n * @return {number}\n */\nvar maxProductDifference = function(nums) {\n    nums.sort((a,b)=>b-a)\n    return (nums[0]*nums[1])-(nums[nums.length-1]*nums[nums.length-2])\n};\n```
['JavaScript']