✅C# || ✅JAVA || 🐍Python || Easy to Understand || ⏳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:\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# Upvote Please \uD83D\uDE09\uD83D\uDE09\uD83D\uDE4C\n# Code\n```\npublic class Solution {\n    public long FindTheArrayConcVal(int[] nums) {\n        int start=0;\n        int end=nums.Length-1;\n        long result=0;\n        while (start <= end){\n            if(start == end){\n                result+=nums[start];\n                start+=1;\n            }\n            else{\n                int checkEnd=1;\n                while(checkEnd <= nums[end]){\n                    checkEnd*=10;\n                }\n                result+=(long)nums[start]*checkEnd+nums[end];\n                start+=1;\n                end-=1;\n            }\n        }\n        return result;\n    }\n}\n```
['C#']