HackerRank Circular Palindromes Problem Solution

HackerRank Circular Palindromes Problem Solution