Create Array Of Consecutive Numbers Leetcode Rating