Python Solution
Runtime: 64 ms, faster than 92.95% of Python online submissions for Remove All Adjacent Duplicates In String.\n* Memory Usage: 14.3 MB, less than 92.19% of Pyth
* Runtime: 64 ms, faster than 92.95% of Python online submissions for Remove All Adjacent Duplicates In String.\n* Memory Usage: 14.3 MB, less than 92.19% of Python online submissions for Remove All Adjacent Duplicates In String\n\n class Solution(object):\n    \n\tdef removeDuplicates(self, s):\n        \n        stack =[]\n\n        for char in s:\n            if stack and char == stack[-1]:\n                stack.pop()\n            else:\n                stack.append(char)           \n\n        return "".join(stack)
['Python']