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.
Refactoring causes a ton of duplicate solutions being posted. Is there no way to edit a solution without creating a duplicate? There should be.
I think it boils down to the problem of evaluation of arithmetical expression, minus tokenization. We already have several kata which require evaluation of a string expression, of various difficulty (from BEDMAS to math functions to REPL).
Had a somewhat interesting challenge presented to me recently that could make a good kata:
Given a Set of strings representing numbers and math operands, compute what the final result of a math operation would be.
Some examples
readability > brevity
Really this shouldn't rely on random. Or at least do random within a defined range that is known to work 100% of the time.
ah, so the test case should be rewritten really?