Perfect string

Problem Name:
Perfect string
Site:HackerEarth
Links:
Tags: