my minimumSum
 # Intuition  \n\n\n\n\n\n\n\n\n\n\n\n# Code\n\n/**\n * @param {number} num\n * @return {number}\n */\nvar minimumSum = function (num) {\n  let str = num.toStri
<!-- # Intuition -->\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n<!-- # Approach -->\n<!-- Describe your approach to solving the problem. -->\n\n<!-- # Complexity\n- Time complexity: -->\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n<!-- - Space complexity: -->\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\n/**\n * @param {number} num\n * @return {number}\n */\nvar minimumSum = function (num) {\n  let str = num.toString().split("").sort();\n  return parseInt(str[0] + str[2]) + parseInt(str[1] + str[3]);\n};\n```
['JavaScript']