[Java] Easy 100% solution
java\nclass Solution {\n    public String makeSmallestPalindrome(final String s) {\n        final char str[] = s.toCharArray();\n        int i = 0, j = s.length
```java\nclass Solution {\n    public String makeSmallestPalindrome(final String s) {\n        final char str[] = s.toCharArray();\n        int i = 0, j = s.length() - 1;\n\n        while(i < j) {\n            str[i] = (char) Math.min(str[i], str[j]);\n            str[j--] = str[i++];\n        }\n\n        return new String(str);\n        \n    }\n}\n```
['Java']