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.
Smart af
At least one of the sample tests should include some duplicate numbers as you say in the kata description there may be duplicates.
Oh!
By definition a tenth of a second will always be one digit (either 0 or 1-9) ;)
First and second point already mentioned below, and still open as issues.
(That's because it uses
Test.expect
, which you should never ever use when comparing for equality. Unless it's for a special reason or you already provide a helpful error...)I don't understand why this kata's satisfaction is higher than 75%.
There are many flaws:
Loking nice! like from me)
Nice one.
However, it misses a sample test where the answer is xx.00.
Random tests feature uppercase and lowercase characters but the kata description doesn't warn about this.
Solved it with recursion!
As others said, there should be more sample test cases with special characters (thinking about the point in the really last test).
This comment is hidden because it contains spoiler information about the solution
Wasn't very clear especially about tests. I agree with ben8p that the team mate part can be hard-coded.
There should be some test examples in the description.
Re-raised as an issue.
Loading more items...