Time: 61 ms (55.03%), Space: 13.8 MB (52.98%) - LeetHub

This commit is contained in:
Deven
2023-01-14 20:25:32 -05:00
parent d088c5960e
commit 82e1a3a680
@@ -3,7 +3,7 @@ class Solution:
value = 0
for op in operations:
if "+" in [op[0], op[-1]]:
if op[1] == "+":
value += 1
else:
value -= 1