Ad
  • Custom User Avatar

    I have a guess... do you separate the cards by their team? If so, you might be missing the case that the game ended abruptly because one team is down to 6 men. You might be counting cards that should be ignored... if they came after the game stopped

  • Custom User Avatar

    Not sure what's the problem... The return has 2 items, [10,11] - because team B still have 11 players.

  • Custom User Avatar

    It should return (10,11) -
    10 players on team A because player #5 is out for 2 yellow cards
    11 players on team B (none received any card)

    BTW - where did you see this case? I don't see it in the test-cases. What language?