Easy Java
\nclass Solution {\n    public int minimumSum(int num) {\n        char[] ch=(num+"").toCharArray();\n        Arrays.sort(ch);\n        int n=Integer.parseInt(""
```\nclass Solution {\n    public int minimumSum(int num) {\n        char[] ch=(num+"").toCharArray();\n        Arrays.sort(ch);\n        int n=Integer.parseInt(""+ch[0]+ch[2]);\n        int m=Integer.parseInt(""+ch[1]+ch[3]);\n        return n+m;\n    }        \n}\n```
['Java']