Skip to content

Commit 9d98d8f

Browse files
committed
code:
1 parent b1d2205 commit 9d98d8f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

LeetCode/code/source/twoSum.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ public static int[] twoSum(int[] nums, int target) throws Exception {
1818
}
1919

2020
public static void main(String[] args) throws Exception {
21-
int nums[] = {2, 7, 11, 15};
21+
int nums[] = {1,2, 7, 11, 15};
2222
int result[] = twoSum(nums, 9);
23+
System.out.println(result[0]+","+result[1]);
2324
}
2425

2526
}

0 commit comments

Comments
 (0)