Count Number Of Substrings Leetcode Problems