Python Easy Solution || Sorting
Code\n\nclass Solution:\n    def maximumProduct(self, nums: List[int]) -> int:\n        nums.sort()\n        n=len(nums)\n        return max(nums[n-1]*nums[n-2]
# Code\n```\nclass Solution:\n    def maximumProduct(self, nums: List[int]) -> int:\n        nums.sort()\n        n=len(nums)\n        return max(nums[n-1]*nums[n-2]*nums[n-3],nums[0]*nums[1]*nums[n-1])\n        \n```
['Sorting', 'Python3']