Ad
  • Custom User Avatar

    Same situation here, I can't seem to figure out the problem. I can't test out the assertion on my machine
    since I don't know how the author overloaded the operator== for std::string and std::vector.

    Edit: Nvm, I tested one of the solutions and it seemed to work. The problem is not with the question.

  • Custom User Avatar

    Now I got, thanks, but had another issues, empty array was returning undefined, I solved it with .filter(e => e != null))

  • Default User Avatar

    you use console.log, you should use return instead.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    In c++ it keeps failing with exit code 132, eventhough the tests seem to pass and the log is empty.
    I tried to google exit code 132, but found nothing that seemed applicable to this situation.
    Does anybody know what might be going on here?