Ad
  • Custom User Avatar

    Hi,

    Well... :/

    • the idea isn't new at all
    • duplicate of a lot of katas
    • the argument name should be lst, not list which is a builtin
    • you're almost asking for a builtin
    • you're asking for performances while your approach is totally wrong about that aspect

    You should unpublish it (before it gets retired)

    cheers

  • Custom User Avatar

    doesn't change the fact that you should unpublish it, but just to let you know for any other publication:

    • you HAVE to have fixed tests at the beginning of the full test suite (meaning "test cases" part of the editor)
    • expected/actual are swapped in the assertions
    • once you unswap them, you'll have to compute your expected result before you send the array to the user, otherwise he can cheat the tests
    • prefere the use of the new test framework

    cheers

  • Custom User Avatar

    Hi,

    Sorry but that's a duplicate (don't ask for the link, it's almost impossible to find anything in the data base. But I'm sure I already solved that at least 2 times) => you should unpublish it.