Add the longest palindromic substring and longest substring without repeating characters