Solve the 'Palindrome Partitioning' question