You are given a string , in one operation You can select a character present in the string and delete a substring containing only that character , calculate the min number of operations to make the string empty.
eg: ABACA -->AACA ( Remove B) --> AAA (Remove C) --> end ...3 is the answer
I am also attaching the screenshot though it is not clear enough
Comments (3)


