This is repeated string solution of HackerRank Problem. Link for the problem https://www.hackerrank.com/challenges/repeated-string/problem