Java
Code\n\nclass Solution {\n    public String makeSmallestPalindrome(String s) {\n        char[] ch = s.toCharArray();\n        int start = 0;\n        int end = 
# Code\n```\nclass Solution {\n    public String makeSmallestPalindrome(String s) {\n        char[] ch = s.toCharArray();\n        int start = 0;\n        int end = s.length() - 1;\n        \n        while(start <= end) {\n            if(ch[start] != ch[end]) {\n                if(ch[end] > ch[start]) {\n                    ch[end] = ch[start];\n                } else {\n                    ch[start] = ch[end];\n                }\n            }\n            start++;\n            end--;\n        }\n        \n        return String.valueOf(ch);\n    }\n}\n```
['Java']