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.
There is no point or advantage it is just because.
I did solve this kata quite a long time ago so I can't exactly tell you why I did for this one but there are probably others too.
And what was the point of putting all the logic in the constructor? I don't see an advantage. Just because? I mean you could do that with just about any function. Why this one?
it's not designed as readable code.
the idea wasn't to make my code clever the goal was to place all the logic within the constructor of the function.
This comment is hidden because it contains spoiler information about the solution