Ad
  • Custom User Avatar

    "Given an array, find the int that appears an odd number of times.
    There will always be only one integer that appears an odd number of times."

    list suppose to have only one integer with odd count.
    in this case these integer have odd count. (9, 2, 5, -2)

    So i think, this is a wrong test case.

  • Default User Avatar

    Indeed, sorry for that. Correction made

  • Default User Avatar

    Fixed.

  • Custom User Avatar

    Issue re-raised with more details.

  • Custom User Avatar

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

  • Default User Avatar

    same problem in random tests

  • Custom User Avatar

    I have got the same problem.
    Additionaly I got case with number '7' repeated 8th times, that was the content of vector, the test said that expected number is: 0, but I believe that description of the task is clear: "There will always be only one integer that appears an odd number of times.", so this is another bug.

  • Custom User Avatar

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