Basic Array Program In Leetcode Contest Solutions