1# Runtime: 111 ms (Top 13.83%) | Memory: 14 MB (Top 12.56%)2class Solution:3 def finalValueAfterOperations(self, operations: List[str]) -> int:4 x = 05 for o in operations:6 if "+" in o:7 x += 18 else:9 x -= 110 return x
WPM •0 •0
ACC •0 •0
TIME •0