Two Sum Less Than K

Try to solve the Two Sum Less Than K problem.

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 ...

Access this course and 1400+ top-rated courses and projects.