add solution for problem: PalindromePartitioning & RemoveDuplicatesFromSortedArray