Commit Palindrome Partitioning I and II