Count Number Of Substrings Leetcode Interview