Sherlock and the Valid String

  • + 2 comments

    I think the problem forgot to state that adding a single char at an index to get match the frequencies also count

    For example, "aabbc". If you add another c, it becomes valid. Hackerrank, fix this plz

    However, the problem only states removing a single char at an index to get a match. With the current state of this problem, "aabbc" should be "NO", not "YES"