Easy approach || c++
Don\'t Feel Demotivating during watching the solution You are the STAR and you can do it very well and you are able to crack every Problem in the future (INSHAL
# Don\'t Feel Demotivating during watching the solution You are the _STAR_ and you can do it very well and you are able to crack every Problem in the future (INSHALLAH)\n\n# Code\n```\nclass Solution {\npublic:\n    string removeDuplicates(string s) {\n       string Result="";\n       Result=s[0];\n       for( int i=1;i<s.size();i++){\n         if(s[i]==Result.back()){\n          Result.pop_back();\n         }\n         else {\n           Result.push_back(s[i]);\n         }\n       }\n       return Result;\n    }\n};\n```
['C++']