Solution to Palindrome Partitioning II