1

I searched this problem in the Google but can't find. A problem is a little bit different from the classic case:

Find the longest palindrome by ignoring some characters. For example: let's take 'abracadabra', here we can omit some characters and get "abadaba" as one of the possible longest palindrome ("ab_a__dab_a").

Can anyone suggest efficient algorithm?

kaya3
  • 47,440
  • 4
  • 68
  • 97
Bahriddin Abdiev
  • 328
  • 1
  • 14

0 Answers0