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.
It's not proper solution - you just guessed test cases and you returned values for them. Think about correct mathematical formula.
Hello guys,
Thank you for your feedback! It's my first kata here and I am glad you accepted it and translated into other languages!
I will add more description to kata when I will have more free time.