Minimum Insertions To Make Palindrome
easy
1. You are given a string(str). 2. You have to find the minimum number of characters to be inserted to convert it to a palindrome.
Constraints
1 <= length of s1 <= 10000
Format
Input
A string
Output
Check the sample output and question video.
Example
Sample Input
pepperatcoding
Sample Output
10