Triple Palindrome Partition - Coding problem | OneNoughtOne