We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7325aec commit 2a462abCopy full SHA for 2a462ab
1 file changed
src/main/java/cn/byhieg/arithmetic/TwoSum.java
@@ -35,7 +35,7 @@ public static int[] twoSum2(int[] nums, int target) {
35
public static void main(String[] args) {
36
int[] nums = {2,7,11,15};
37
int taget = 9;
38
- int[] ints = twoSum1( nums, taget );
+ int[] ints = twoSum2( nums, taget );
39
System.out.printf( Arrays.toString(ints) );
40
}
41
0 commit comments