Rosetta Problems

Find X Value of Array I

https://leetcode.com/problems/find-x-value-of-array-i