Skip to content

Commit 21f370a

Browse files
committed
auto commit
1 parent 74d4af6 commit 21f370a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notes/Leetcode 题解.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1239,7 +1239,7 @@ public int numSquares(int n) {
12391239
continue;
12401240
}
12411241
marked[next] = true;
1242-
queue.add(cur - s);
1242+
queue.add(next);
12431243
}
12441244
}
12451245
}

0 commit comments

Comments
 (0)