C++ || EASY TO UNDERSTAND
Code\n\nclass Solution {\npublic:\n    long long findTheArrayConcVal(vector<int>& nums) {\n        int i = 0,j=nums.size()-1,x,y;\n        long long int ans=0;\
# Code\n```\nclass Solution {\npublic:\n    long long findTheArrayConcVal(vector<int>& nums) {\n        int i = 0,j=nums.size()-1,x,y;\n        long long int ans=0;\n        while(i<j){\n            x = nums[j];\n            y = 0;\n            while(x){\n                y++;\n                x /= 10;\n            }\n            ans += (nums[i]*1LL*pow(10,y)+nums[j]);\n            i++;\n            j--;\n        }\n        if(i==j){\n            ans += nums[i];\n        }\n        return ans;\n    }\n};\n```
['Array', 'Two Pointers', 'Simulation', 'C++']