摘要: Given an array nums of integers and integer k, return the maximum sum such that there exists i < j with nums[i] + nums[j] = sum and sum < k. If no i, 阅读全文
posted @ 2022-11-19 14:55 CNoodle 阅读(62) 评论(0) 推荐(0)
摘要: The width of a sequence is the difference between the maximum and minimum elements in the sequence. Given an array of integers nums, return the sum of 阅读全文
posted @ 2022-11-19 14:36 CNoodle 阅读(57) 评论(0) 推荐(0)