Count of Balanced Substrings | Little Elephant and Balance | CodeChef Chapters #16 - Difficulty 1940