Number of Equal Count Substrings

Number of Equal Count Substrings - Coding Problem | K5kC