easy c++ code 100%
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\nclass Solution {\n    public String breakPalindrome(String palindrome) {\n        char[] cstr = palindrome.toCharArray();\n        if(cstr.length<2){\n            return "";\n        }\n        for(int i=0;i<cstr.length/2;i++){\n            if(cstr[i]!=\'a\'){\n                cstr[i]=\'a\';\n                return String.valueOf(cstr);\n            }\n        }\n        cstr[cstr.length-1]=\'b\';\n        return String.valueOf(cstr);\n    }\n}\n```
['Java']