There was an error while loading. Please reload this page.
1 parent 6045f81 commit 9124e40Copy full SHA for 9124e40
leetcode/biweekly/151/d/README.md
@@ -89,7 +89,7 @@ class Solution {
89
// k 改成从 0 开始,方便计算
90
k--;
91
if (n < f.size() && k >= f.get(n) * (2 - n % 2)) { // n 是偶数的时候,方案数乘以 2
92
- return new int[0];
+ return new int[]{};
93
}
94
95
// cand 表示剩余未填入 ans 的数字
0 commit comments