Python 90% Faster
\nclass Solution:\n    def calPoints(self, ops: List[str]) -> int:\n        res = []\n        for i in ops:\n            if i == \'C\':\n                res.pop
```\nclass Solution:\n    def calPoints(self, ops: List[str]) -> int:\n        res = []\n        for i in ops:\n            if i == \'C\':\n                res.pop()\n            elif i == \'D\':\n                res.append(res[-1] * 2)\n            elif i == "+":\n                res.append(res[len(res)-2] + res[-1])             \n            else:\n                res.append(int(i))\n        return sum(res)\n\t\t\n\t\t```
[]