Ad
  • Custom User Avatar

    You're right, fixed!

  • Custom User Avatar

    Hi,

    Well, the kata seems to be technically ok, but the huge problem is the lack of originaly of the task. I guess that's the reason for the down votes, hence the retirement. We (as community) understand that you put efforts in this work, but you (as part of the cumminity as well and as author) must also understand that there are already thousands of kata like this and that anyhting published is already aprt of the database: at some point, more kata of this type isn't a desirable thing.

    Cheers

    PS: one technical problem, tho: you were sending the list to the user without copying it first, and using the same list to compute the expected result => that means your random tests were cheatable (user mutating the input)