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
My Code passes the basic tests and the random tests. Upon attempting, one of the basic tests seem to fail (expeted: 15, actual: -1). When i switch back to testing, all basic tests pass. Has someone experienced this as well?
Could you explain why it is not “clean code“? :)
TypeScript:
The code passes all basic tests upon “testing“. Once attempting, the basic test fails because of an undefined entry in the returned array, while the random tests all pass.
Any hints?