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.
Approved
Cool!
This comment is hidden because it contains spoiler information about the solution
Anyone can explain how it works?
Approved ~~
Added random tests, closing ~~
fork with
Merge conflict resolved
Code in preloaded removed
removed unnecessary import of
testthat
Random tests compare the user solution to itself.
There shouldn't be code in Preloaded without a good reason.
This comment is hidden because it contains spoiler information about the solution
This kata for R should explicitly disallow the use of the sort() function as it makes the entire exercise trivial.
See the issue I created above, the expected and actual value are shown flipped in php.
Well, I trust my IDE more than this Kata test so I'm not going to waste my time trying to find an error. Unless you don't mind me sending you my code.
R translation added. Thank you for reviewing :).
Loading more items...