1464. Maximum Product of Two Elements in an Array
Given the array of integers
nums
, you will choose two different indicesi
andj
of that array. Return the maximum value of(nums[i]-1)*(nums[j]-1)
.
1 | class Solution { |
1464. Maximum Product of Two Elements in an Array
Given the array of integers
nums
, you will choose two different indicesi
andj
of that array. Return the maximum value of(nums[i]-1)*(nums[j]-1)
.
1 | class Solution { |