Java | easy to understand
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:\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```\nclass Solution {\n    public long findTheArrayConcVal(int[] nums) {\n        long res=0;\n        if(nums.length==1)return (long)nums[0];\n        for(int i=0;i<nums.length/2;i++)\n        {\n            String str=nums[i]+""+nums[nums.length-i-1];\n            res+=Long.parseLong(str);\n        }\n        if(nums.length%2!=0)res+=nums[nums.length/2];\n        return res;\n        \n        \n    }\n}\n```
['Java']