Beginner friendly [Java/JavaScript/Python] Solution
Java\n\nclass Solution {\n    public String breakPalindrome(String palindrome) {\n        if(palindrome.length() == 1)    return "";\n        char[] s = palindr
**Java**\n```\nclass Solution {\n    public String breakPalindrome(String palindrome) {\n        if(palindrome.length() == 1)    return "";\n        char[] s = palindrome.toCharArray();\n        for(int i=0; i<s.length/2; i++){\n            if(s[i] != \'a\'){\n                s[i] = \'a\';\n                return String.valueOf(s);\n            }\n        }\n        s[s.length-1] = \'b\';\n        return String.valueOf(s);\n    }\n}\n```\n**JavaScript**\n```\nvar breakPalindrome = function(palindrome) {\n    if(palindrome.length == 1)    return "";\n    let s = palindrome.split(\'\')\n    for(let i=0; i<~~(s.length/2); i++){\n        if(s[i] != \'a\'){\n            s[i] = \'a\';\n            return s.join(\'\');\n        }\n    }\n    s[s.length-1] = \'b\';\n    return s.join(\'\');\n};\n```\n**Python**\n```\nclass Solution(object):\n    def breakPalindrome(self, palindrome):\n        if len(palindrome) == 1:\n            return ""\n        for i in range(len(palindrome)/2):\n            if palindrome[i] != \'a\':\n                return palindrome[:i] + \'a\' + palindrome[i+1:]\n        return palindrome[:-1] + \'b\' \n```
['Python', 'Java', 'JavaScript']