Ad
  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    A very poor-quality Kata overall, and it is obvious that the author of this Kata has put no effort in whatsoever to even try to make this Kata remotely presentable to the Community. I would strongly advise that you unpublish this Kata and rework it to make it much better than it is now before re-publishing it. A few things to consider could include: coming up with a unique idea and having full code coverage, etc.

  • Custom User Avatar

    Very close duplicate of at least this Kata (and quite possibly a few others!) which means that this Kata fails to present novel content to the user undertaking it. The lack of novel content in a Kata as an Issue is recognised as an official CW stance.

  • Custom User Avatar

    Your Kata needs more extensive test coverage to prevent easy cheap-cheat solutions and/or logically flawed solutions. The most common way to increase test coverage is through the inclusion of randomly generated test cases at runtime so please add these. The lack of test coverage in a Kata as an Issue is recognised as an official CW stance.

  • Custom User Avatar

    Incorrect usage of Test.expect causes any solution that returns a truthy value to pass all tests