Skip to content

Commit b116fac

Browse files
authored
Update maximum-product-of-subsequences-with-an-alternating-sum-equal-to-k.py
1 parent 2c78e1d commit b116fac

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Python/maximum-product-of-subsequences-with-an-alternating-sum-equal-to-k.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ def maxProduct(self, nums, k, limit):
2525
for v in products:
2626
new_dp[new_state].add(min(v*x, limit+1))
2727
dp = new_dp
28-
2928
result = -1
3029
for (p, total), products in dp.iteritems():
3130
if total != k:

0 commit comments

Comments
 (0)