solve leetcode - palinedrome partitioning