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.
This comment is hidden because it contains spoiler information about the solution
Kotlin translation up. Please help review!
Thanks for the review! I've edited per your comments.
It was called
Randomrests
with the original Java version I had during the translation, so not sure if that's also an issue with other language versionsKotlin translation up! Please help review :)
This comment is hidden because it contains spoiler information about the solution
Anyway we can remove the
package solution
? Tripped by this onceTHe problem needs to be more clear about the fact that the array could be of different length, I got confused about the "Note for C" part, is that supposed to be only for C-developers? If that's the case, it should be more explicit like "Note for C developers"
Not efficient at all, this is a O(N^2) solution.