Partitioning by Palindromes | judge.