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.
Hi JohanWiltink, I've updated the description, thanks for that.
If more people desire that the parsing of the String part should go, I'll turn that into an Int.
Hi natan, thank you for the feedback.
The goal of this (very introductory) puzzle is to figure out, based on the text, what the requirements are and of course to find the solution.
I've reworded some parts of the description, to make it read more like a little story.
Hi there, I've updated the tests and added some sampele tests.
Can you review once more and perhaps give me some tips?
Looking to improve, so be patient with me please :-)
I've updated the description, and added constraints to the number "x", stating that we are dealing with any positive or negative Int.
Tests are added to ensure these constraints are checked.
The author solution now also works for these added tests.
Good point, I'll make sure to adjust this as well.
I'll look into it!
This is my first time writing a kata, so thanks for the feedback.
This comment is hidden because it contains spoiler information about the solution
Made me laugh, so thanks for that.
The 8 kyu difficulty is also accurate in my opinion.