mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2026-02-03 02:43:26 +08:00
Apply suggestions from code review
This commit is contained in:
@@ -434,7 +434,6 @@ impl Solution {
|
||||
dp[0] = 1;
|
||||
for n in nums {
|
||||
for s in (n as usize..=size).rev() {
|
||||
//
|
||||
dp[s] += dp[s - n as usize];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user