Posted on January 20, 2021January 20, 2021 Description Submisson class Solution { public: int maximumProduct(vector<int>& nums) { sort(nums.begin(), nums.end()); int n = nums.size(); return max(nums[0] * nums[1] * nums[n-1], nums[n-1] * nums[n-2] * nums[n-3]); } }; By Bill0412 Easy LeetCode