JAVA || Easy Solution||100% Faster Code || Beginner Friendly
\tPLEASE UPVOTE IF YOU LIKE.\n\nclass Solution {\n    public String breakPalindrome(String palindrome) {\n        if(palindrome.length() == 0 || palindrome.leng
\tPLEASE UPVOTE IF YOU LIKE.\n```\nclass Solution {\n    public String breakPalindrome(String palindrome) {\n        if(palindrome.length() == 0 || palindrome.length() == 1){\n            return "";\n        }\n        char[] ch = palindrome.toCharArray();\n        for(int i = 0;i<ch.length/2;i++){\n            if(ch[i]-\'a\' != 0){\n                ch[i] = \'a\';\n                return new String(ch);\n            }\n            \n        }\n        ch[ch.length-1] = \'b\';\n        return new String(ch);\n    }\n}\n```
['Java']