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.
Ok, I understand. I dont need to publish it, but I tried to pass whole process.
You did. But publishing it took it a step too far. Duplicate kata do not add value to Codewars.
Inconsistent return values are not a best practice.
Return value should be an array, or an error should be thrown ( or a sum type should be encoded, probably as an
Object
).Unsolvable! :(
Yes I know. This is my first kata and I wanted to create something simple.
This kata seems to be very similar to Solving Quadratics and Thinkful - Number Drills: Quadratic formula.
Solution setup and sample tests are not correct, and users do not know how their function should be called.