C++, Golang | both faster than 100%
Golang:\n\nfunc breakPalindrome(s string) string {\n    if len(s)==1{\n        return ""\n    }\n    for i:=0; i<len(s)/2; i++ {\n        if s[i]!=\'a\' {\n    
Golang:\n```\nfunc breakPalindrome(s string) string {\n    if len(s)==1{\n        return ""\n    }\n    for i:=0; i<len(s)/2; i++ {\n        if s[i]!=\'a\' {\n            s=s[:i]+"a"+s[i+1:]\n            return s\n        }\n    }\n    s=s[:len(s)-1]+"b"\n    return s\n}\n```\n\nC++:\n```\nclass Solution {\npublic:\n    string breakPalindrome(string p) {\n        if (p.size()==1) return "";\n        for (int i=0; i<p.size()/2; i++){\n            if (p[i]!=\'a\'){\n                p[i]=\'a\';\n                return p;\n            }\n        }\n        p.end()[-1]=\'b\';\n        return p;\n    }\n};\n```
['C', 'C++', 'Go']