Java | 8 lines | Simple and clean code | Beats 100%
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 
# 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: $$O(n)$$\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity: $$O(1)$$\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\nclass Solution {\n  public long findTheArrayConcVal(int[] nums) {\n    var n = nums.length;\n    var ans = 0L;\n    \n    for (int i = 0, j = n-1; i < j; i++, j--) {\n      for (var r = nums[j]; r > 0; r /= 10, nums[i] *= 10);\n      ans += nums[i] + nums[j];\n    }\n    if (n % 2 == 1)\n      ans += nums[n/2];\n    \n    return ans;\n  }\n}\n```
['Java']