Create Array Of Consecutive Numbers Leetcode Problems On Strings