We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0d6adb commit 1fd7d00Copy full SHA for 1fd7d00
MEDIUM/src/medium/_3Sum.java
@@ -19,7 +19,7 @@ public List<List<Integer>> threeSum(int[] nums) {
19
list.add(nums[mid]);
20
list.add(nums[right]);
21
22
- //move left
+ //move left forward to get all possible combinations
23
} else if(sum > 0){
24
right = mid;
25
} else {
0 commit comments