Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
fwqaaq authored May 12, 2023
1 parent db21086 commit 03829cd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion problems/0494.目标和.md
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
}
Expand Down

0 comments on commit 03829cd

Please sign in to comment.