String Occurrence Counter

Company: Barclays

Difficulty: medium