✅ Easy C++ Solution
Code\n\nclass Solution {\npublic:\n    string makeSmallestPalindrome(string s) {\n        int n = s.size();\n        int left = 0;\n        int right = n-1;\n  
# Code\n```\nclass Solution {\npublic:\n    string makeSmallestPalindrome(string s) {\n        int n = s.size();\n        int left = 0;\n        int right = n-1;\n        while(left < right)\n        {\n            if(s[left] != s[right])\n            {\n                char most = (s[left] < s[right]) ? s[left] : s[right];\n                s[left] = most;\n                s[right] = most;\n            }\n            left++;\n            right--;\n        }\n        return s;\n    }\n};\n```
['C++']