C++|| easy solution || 0 ms || easy-understanding
\nclass Solution {\npublic:\n    int minimumSum(int num) {\n        vector<int>v;\n        while(num!=0){\n            v.push_back(num%10);\n            num=num
```\nclass Solution {\npublic:\n    int minimumSum(int num) {\n        vector<int>v;\n        while(num!=0){\n            v.push_back(num%10);\n            num=num/10;\n        }\n        sort(v.begin(),v.end());\n        int n1=v[0]*10+v[3];\n        int n2=v[1]*10+v[2];\n        return n1+n2;\n    }\n};\n```\nIf you like the approach,please upvote the solution.
[]