Concatenate

  • + 2 comments

    I think the problem statement is still off; or the Python solution is wrong. If you can only remove one character, then the input "aaabbbcc" should output "NO". However the Python solution provided would output "YES", because it essentially ignores all counts of one letter.