Transform
C++\ncpp\nstring makeSmallestPalindrome(string s) {\n    transform(begin(s), end(s), rbegin(s), begin(s), [](char a, char b){\n        return min(a, b);\n    })
**C++**\n```cpp\nstring makeSmallestPalindrome(string s) {\n    transform(begin(s), end(s), rbegin(s), begin(s), [](char a, char b){\n        return min(a, b);\n    });\n    return s;\n}\n```
['C']