Ad
  • Custom User Avatar

    My code passes the fixed test in Java when I trim the last character, which is a whitespace, of the final answer.
    But in random tests, this issue keeps happening:

    expected:<...RtHKqsvwuUENNEUfPhay[ ]> but was:<...RtHKqsvwuUENNEUfPhay[]>

    If I return the string WITHOUT trimming the whitespace, then both of the tests fail