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.
The random tests crash sometime even with a correct solution, due to an off-by-one error in the random tests generation.
The indices in
random_listshould generate values in the range of0 - 99, since it is used to indexfull_test_listwhich has a length of100.To fix this, you can change this line
into
Approved by someone.
Both points seem fixed some time ago.
Approved
Froze the preloaded lists to prevent mutations
Fixed a bug in the author & refsol
Approved.
I think the first case in the description should be
$f\!\left(\sum_{\text{digits}(n)}\right)$rather than just$\sum_{\text{digits}(n)}$, since the digit sum may be more than 9 & need further reductions.Enabled Ruby 3.0 + RSpec [1]
Enabled Ruby 3.0 + RSpec
Added Java code blocks in the description for the required error to be thrown
Approved some time ago.
Added in this fork, too late to implement the latter suggestion after 9 years I'm afraid.
Added in this fork
Added in this fork (4 --> 53 invalidated)
Uses RSpec
Added random tests [1]
Language agnosticism in the description & added a small remark on the wrapping behaviour [2] [3]
Loading more items...