Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
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.
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.
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.
Incorrect usage of
Test.expect
causes any solution that returns a truthy value to pass all tests