Count Number Of Homogeneous Substrings Leetcode Solution 33