Make a palindrome

What is the minimum number of characters than need to be inserted to to the string Brilliantforever to make it a palindrome?

As an explicit example:

-"ba" becomes a palindrome by adding 1 character as bab

-"lov" becomes a palindrome by adding 2 characters as lovol

Details and Assumptions

Characters can be inserted at any postion

×

Problem Loading...

Note Loading...

Set Loading...