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.
I did use a slightly modified version of your solution before, but now I use yours on the Random Tests.
Any update to this? If you want, you can check my solution on kata's discourse section to see how to avoid having to deal with modulo issues.
It's still incorrect. You're still mixing and matching
%
andmod
.Rejected due to:
No sample tests
No random tests
Description being language-specific
Initial solution setup is missing return type
The framework for writing custom tests is to use JUnit's assertions
Missed that. Fixed ✅
Array length should be randomized and not fixed to 30
I've tried to make the good proposal by josdem a little bit more Kotlin idiomatic and added a generator for testCases, so that we can check solutions against 200 randomly generated list of integers
Rejected due to
No sample tests
No random tests
Only 1 test
Description MC
return ""
instead ofreturn array.toString()
???OP seems to be experimenting this translation as kumite rather than attempting to translate
Good translation :)
I think there need to be more test cases though; and also the sample test cases need to be adapted.