Consecutive Symbol Count

Company: Flipkart_10Dec

Difficulty: medium