Simple Easy Python Solution
Runtime: 62 ms, faster than 66.67% of Python3 online submissions for Find the Array Concatenation Value.\n\nMemory Usage: 14.1 MB, less than 61.11% of Python3 o
Runtime: 62 ms, faster than 66.67% of Python3 online submissions for Find the Array Concatenation Value.\n\nMemory Usage: 14.1 MB, less than 61.11% of Python3 online submissions for Find the Array Concatenation Value.\n\n\n```class Solution:\n    def findTheArrayConcVal(self, nums: List[int]) -> int:\n        l = len(nums)//2\n        ans = 0\n        rem = ""\n        if len(nums)%2 !=0:\n            ans += nums[l]\n        for i in range(l):\n            if len(nums) == 1:\n                ans = ans + nums[-1]\n                break\n            ans += int(str(nums[0]) + str(nums[-1]))\n            nums.pop(0)\n            nums.pop(-1)\n        return ans
[]