Skip to content

Commit f812cd2

Browse files
Bruce YangBruce Yang
Bruce Yang
authored and
Bruce Yang
committed
Update print method.
1 parent 94c5da3 commit f812cd2

File tree

1 file changed

+1
-1
lines changed
  • java-leetcode_intelliJ_idea/leetcode1-two-sum.java/src

1 file changed

+1
-1
lines changed

java-leetcode_intelliJ_idea/leetcode1-two-sum.java/src/Solution.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ public static void main(String[] args) {
2727
int[] nums = {2,7,11,15};
2828
int target = 9;
2929
int[] res = sol.twoSum(nums, target);
30-
System.out.println(res);
30+
System.out.println(Arrays.toString(res));
3131
}
3232
}

0 commit comments

Comments
 (0)