LeetCode

Count The Repetitions

Click here for an explanation.