C++ Simple and Short Solution, Faster than 99.7%
\nclass Solution {\npublic:\n    string removeDuplicates(string s) {\n        string res = "";\n        \n        for (auto letter : s) {\n            if (lette
```\nclass Solution {\npublic:\n    string removeDuplicates(string s) {\n        string res = "";\n        \n        for (auto letter : s) {\n            if (letter == res.back())\n                res.pop_back();\n            \n            else\n                res.push_back(letter);\n            \n        }\n        return res;\n    }\n};\n```\n**Like it? please upvote!**
['C']