You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To implement an algorithm that gives, the minimum no. of partitions you will have to do in a string, such that each resultant sub string will be a palindrome.
ex: for a given string S: "NITIK" we can do the partition as - N | ITI | K thus, output will be "2" (without quotes)