Earn extra honor and gain new allies!
Honor is earned for each new codewarrior who joins.
Learn more
  • 14909989?v=3

    Mutating the input should have no effects now

  • 4880343?

    Yes, you're right. I used Array#shift with the input array, that's a bad thing.

    Copying solved the issue. Thanks!

  • 61116?v=3

    You are altering the list used by the test. Try to work on a copy or to not use destructive operation like python's pop.

  • 61116?v=3

    If the solution alter the list (for exemple, in python, names.pop(0)), randoms test will fail. Test should provide a copy of the list when it make sense.