Leetcode solving: 1464. Maximum Product of Two Elements in an Array

Опубликовано: 16 Февраль 2026
на канале: Math Geeks
37
0

Given the array of integers nums, you will choose two different indices i and j of that array. Return the maximum value of (nums[i]-1)*(nums[j]-1).


####################################
Please subscribe to my channel
My other Leetcode solving videos (easy)
   • Leetcode(easy)  


Leetcode solving videos (Medium):
   • Leetcode solving videos (Medium)  

Leetcode solving videos (Hard):
   • Leetcode(hard)