Code With Cisco '23 Difficult Question

Anonymous User
870
Jun 28, 2023

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 enoughimage

Comments (3)