leetcode-master icon indicating copy to clipboard operation
leetcode-master copied to clipboard

哈希表9 四数之和在leetcode上,有几个例子过不了

Open Ephmeral opened this issue 3 years ago • 1 comments

四数之和那个题目,现在好像leetcode设置了一个大数据,没法通过,如下图所示 image

Ephmeral avatar Sep 02 '21 11:09 Ephmeral

int 不行,你把那个nums[k] + nums[i] + nums[left] + nums[right] > target 移项操作 nums[k] + nums[i] > target - nums[left] - nums[right]

hahalaughddd avatar Sep 03 '21 15:09 hahalaughddd