Simplest of all solution | Super easy to understand
Just compare front and back letters.\n- If they are not equal then replace the larger letter with the smaller one.\n\n# Code\n\nclass Solution:\n    def makeSma
- Just compare front and back letters.\n- If they are not equal then replace the larger letter with the smaller one.\n\n# Code\n```\nclass Solution:\n    def makeSmallestPalindrome(self, s: str) -> str:\n        for i in range(int(len(s)/2)):\n            if s[i] != s[len(s)-i-1]:\n                if s[i] < s[len(s)-i-1]:\n                    s = s[:len(s)-i-1] + s[i] + s[len(s)-i:]\n                else:\n                    s = s[:i] + s[len(s)-i-1] + s[i+1:]\n        return s\n```
['Python3']