Add minimum char in front to make string palindrome


  • 1
    N

    Given a string S, you are allowed to convert it to a palindrome by adding 0 or more characters in front of it.

    -Find the length of the shortest palindrome that you can create from S by applying the above transformation.
    -Find the final result of the palindrome after added to the front.


  • 0
    W
    This post is deleted!

Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.