C++ simple easy concise solution
class Solution {\npublic:\n    string breakPalindrome(string palindrome)\n    {\n        if(palindrome.length()<=1)\n            return "";\n        for(int i=0
class Solution {\npublic:\n    string breakPalindrome(string palindrome)\n    {\n        if(palindrome.length()<=1)\n            return "";\n        for(int i=0;i<palindrome.size()/2;i++)\n        {\n            if(palindrome[i]!=\'a\')\n            {\n                palindrome[i]=\'a\';\n                return palindrome;\n                break;\n            }\n        }\n        palindrome[palindrome.size()-1]=\'b\';\n        return palindrome;\n    }\n};
[]