HackerEarth ( Problem A ) Pikachu and the Game of Strings problem solution - TheCScience