Python - Easy to understand on the basis of testcases!!
\ndef maximumProduct(self, nums):\n        n = len(nums)\n        nums.sort()\n        return max(nums[0] * nums[1] * nums[n - 1], nums[n-3] * nums[n - 2] * num
```\ndef maximumProduct(self, nums):\n        n = len(nums)\n        nums.sort()\n        return max(nums[0] * nums[1] * nums[n - 1], nums[n-3] * nums[n - 2] * nums[n-1])\n```
['Python']