easy understanding||Daily LeetCode November 10
\nclass Solution {\npublic:\n    string removeDuplicates(string s) {\n       int i=1;\n        string k;\n        k.push_back(s[0]);\n        while(i<s.length()
```\nclass Solution {\npublic:\n    string removeDuplicates(string s) {\n       int i=1;\n        string k;\n        k.push_back(s[0]);\n        while(i<s.length())\n        {\n            if(!k.empty()&&s.length())\n            {\n                if(k.back()==s[i])\n                {\n                    k.pop_back();\n                }\n                else\n                {\n                    k.push_back(s[i]);\n                }\n            }\n            else\n                k.push_back(s[i]);\n            i++;\n        }\n        return k;\n    }\n};\n//Suggestions and feedbacks are welcomed.\n//Happy Coding!!\n```
['String', 'C']