Skip to content

Commit 5b86411

Browse files
committed
修改注释
1 parent 4695608 commit 5b86411

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/java/com/diguage/algo/leetcode/_0001_TwoSum.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,8 @@ public static int[] twoSum(int[] nums, int target) {
5353
/**
5454
* 优化后的算法,时间复杂度减低为 `O(n)`, 空间复杂度提高了。
5555
*
56-
* @param nums 数组
57-
* @param target 目标
58-
* @return 结果
56+
* @author D瓜哥 · https://www.diguage.com
57+
* @since 2018-07-13 23:31
5958
*/
6059
public static int[] twoSumO1(int[] nums, int target) {
6160
if (nums == null || nums.length < 2) {

0 commit comments

Comments
 (0)