Very Simple & Easy to Understand Solution
\n# Code\n\nclass Solution {\npublic:\n    long long findTheArrayConcVal(vector<int>& nums) {\n        long long ans  = 0;\n        int n = nums.size();\n      
\n# Code\n```\nclass Solution {\npublic:\n    long long findTheArrayConcVal(vector<int>& nums) {\n        long long ans  = 0;\n        int n = nums.size();\n        for(int i = 0; i < n/2; ++i){\n            string t = to_string(nums[i]) + to_string(nums[n - i - 1]);\n            ans += stol(t);\n        }\n        if(n % 2) ans += nums[n/2];\n        return ans;\n    }\n};\n```\n\nHere is an article of my recent interview experience - A Journey to FAANG Company, I recomand you to go through this to know which all resources I have used & how I cracked interview at Amazon:\nhttps://leetcode.com/discuss/interview-experience/3171859/Journey-to-a-FAANG-Company-Amazon-or-SDE2-(L5)-or-Bangalore-or-Oct-2022-Accepted
['C++']