You are viewing a single comment's thread. Return to all comments →
I tested the following scenario with one of the editorial solutions:
assert isValid("aaabbbcc") == "NO"
This scenario fails one solution from the editorial.
I don't get it why this is not being considered on the full test cases, is there something I am missing from the description?