Sherlock and the Valid String

  • + 1 comment

    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?