Count Number of Homogenous Substrings

Count Number of Homogenous Substrings - Coding Problem | K5kC