The sample test case discussed in the Example ("bbbab") should be 3. But it was given as 4. Am I missing the problem statement
Hmm, you complain about the result being 4 but not about the explanation being "bbbb"... so I guess you think "bbbb" has length 3?
Can't understand that either.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.