Basic Array Program In Leetcode Contest Questions