Output for bbbab???

  • -1


    The sample test case discussed in the Example ("bbbab") should be 3. But it was given as 4. Am I missing the problem statement

  • 0

    Hmm, you complain about the result being 4 but not about the explanation being "bbbb"... so I guess you think "bbbb" has length 3?

  • -1

    Can't understand that either.

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.