Super Mancunian

  • + 2 comments

    Is this test case giving the correct answer?

    5 5 1 2 1 2 3 2 2 4 2 3 4 2 5 3 3

    Shouldn't the output be 5 3 instead of 5 1