Prashant Mahesh's submission of Periodic Strings | CodeChef