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.
Scala translation
Haskell Stderr in running of tests gives a warning. Probably a change in the compiler or something.
Ruby 3.0 should be enabled.
Ruby 3.0 should be enabled.
According to the description "jobs" is a non-empty positive integer array.
But the random tests of the C++ version may generate jobs with value
0
((rand()%slice) + (rand() % 10)
).Hi talamb and thanks for the really nice and stimulating kata :)
As a token of my appreciation, I just translated it into Ruby for you to review and eventually approve.
You may notice that I took the liberty of adding a good deal of random tests; I may do so in the other two languages too, if you wish - just let me know :)