Skip to content

Commit 0cae614

Browse files
authored
Update Solution.java
1 parent 6295808 commit 0cae614

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/g0401_0500/s0494_target_sum/Solution.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
public class Solution {
77
public int findTargetSumWays(int[] nums, int target) {
88
int totalSum = 0;
9-
int n = nums.length;
109
for (int num : nums) {
1110
totalSum += num;
1211
}

0 commit comments

Comments
 (0)