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.
Debatable, but to prevent prematurated approval:
Isn't the kata just another dup of the many calculators kata? (I'm specifically thinking about the C# one, which uses some similar concepts)
https://www.codewars.com/kata/reviews/5859b36dd3ed274f4e000692/groups/6450829210b72e000120b4d0
Kata author: it is not funny to randomly ban regex when your description also defines things in terms of regular expressions. In addition, this adds nothing to the task, besides making it more a nuisance. (If you think this adds "difficulty" to the task, then your kata is objectively bad. Find something better to author on.)
One can also argue that if you don't want people to use regex, then don't author the kata in Java and JS where regex is part of the language built-in. Author the kata in C++ or something instead.
Description contains a lot of wild tangents of the kata author contemplating about random stuff rather than a clear description of what is needed.
JS version is still stuck at Node v8.
Also, JS version doesn't have sample tests.
Since this is a duplicate (as mentioned before) it should probably be retired.
I've just published updated version with 'IllegalArgumentException' as error signal, and portions of random tests.
One's else solution is strong enough to pass them.
Are these methods supposed to be forbidden, or does this message mean "these methods will not return the exact expected output"? If it's the former, it should be enforced. If it's the latter, then mentioning this is pointless, and gives away the solution.
No sample tests.
Maybe add the import for them ;)
Hi,
The setup of the task is absolutely awful :/
Mostly:
To go deeper into the problems:
this
). Not the full boiler plate with 2 methods requiring the user to compute on his side the correct number. You're breaking encaspulation, here (well, let's rather say you chose a very poor design...). But don't bother with that because...:Suggestions:
Reference solution needs some fixes, I think...
Who approved this obvious duplicate?
This comment is hidden because it contains spoiler information about the solution
Loading more items...