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