STRINGS || 80% S.C || CPP
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 {\npublic:\n    string breakPalindrome(string palindrome) {\n        if(palindrome.size()==1) return "";\n        for(int i=0;i<palindrome.size()/2;i++){\n            if(palindrome[i]!=\'a\'){\n                palindrome[i]=\'a\';\n                return palindrome;\n            }\n        }\n        palindrome[palindrome.size()-1]=\'b\';\n        \n        return palindrome;\n    }\n};\n```
['C++']