Easy C++ Intuitive Solution
Code\n\nclass Solution {\npublic:\n    int removeAlmostEqualCharacters(string word) {\n        \n        int ans = 0;\n        for(int i = 1; i < word.size(); )
# Code\n```\nclass Solution {\npublic:\n    int removeAlmostEqualCharacters(string word) {\n        \n        int ans = 0;\n        for(int i = 1; i < word.size(); ) {\n            if(abs(word[i] - word[i-1]) <= 1) {\n                ans++;\n                i += 2;\n            } else {\n                i++;\n            }\n        } \n        \n        return ans;\n        \n    }\n};\n```
['C++']