menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Data Science News

>

3223. Mini...
source image

Dev

1M

read

376

img
dot

Image Credit: Dev

3223. Minimum Length of String After Operations

  • You are given a string s.
  • You can perform the following process on s any number of times:
  • Choose an index i in the string such that there is at least one character to the left of index i that is equal to s[i], and at least one character to the right that is also equal to s[i].
  • Delete the closest character to the left of index i that is equal to s[i].

Read Full Article

like

22 Likes

For uninterrupted reading, download the app