python 2 liner code faster
\n    def maximumProduct(self, nums: List[int]) -> int:\n        nums.sort()\n        return max((nums[-1]*nums[-2]*nums[-3]),(nums[0]*nums[1]*nums[-1]))\n
```\n    def maximumProduct(self, nums: List[int]) -> int:\n        nums.sort()\n        return max((nums[-1]*nums[-2]*nums[-3]),(nums[0]*nums[1]*nums[-1]))\n```
['Python', 'Python3']