Statement
Given an array of integers, nums
, and an integer k
, find the maximum sum of two elements in nums
less than k
. Otherwise, return
Constraints:
nums.length
nums[i]
k
Given an array of integers, nums
, and an integer k
, find the maximum sum of two elements in nums
less than k
. Otherwise, return
Constraints:
nums.length
nums[i]
k
Given an array of integers, nums
, and an integer k
, find the maximum sum of two elements in nums
less than k
. Otherwise, return
Constraints:
nums.length
nums[i]
k