Easy python solution
\nclass Solution:\n    def removeDuplicates(self, s: str) -> str:\n        stack = []\n        for ch in s:\n            if stack and ch == stack[-1]:\n        
```\nclass Solution:\n    def removeDuplicates(self, s: str) -> str:\n        stack = []\n        for ch in s:\n            if stack and ch == stack[-1]:\n                stack.pop()\n            else:\n                stack.append(ch)\n        return "".join(stack)\n```
['Stack', 'Python']