Python super simple solution - w/explanation
\nclass Solution:\n    def removeDuplicates(self, S: str) -> str:\n        new_list = []\n        \n        for letter in S:\n            new_list.append(letter
```\nclass Solution:\n    def removeDuplicates(self, S: str) -> str:\n        new_list = []\n        \n        for letter in S:\n            new_list.append(letter)\n            # if letter inserted is same as previous letter in list - remove both\n            if len(new_list) > 1 and new_list[-1] == new_list[-2]: \n                new_list.pop()\n                new_list.pop()\n                \n        return "".join(new_list)\n```
['Python3']