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
Approved.
This comment is hidden because it contains spoiler information about the solution
Fixed, replaced by a LaTeX formula.
Fixed, replaced by a LaTeX formula.
Sample tests do not need random tests.
Rejected because of missing random tests. If you want to improve this you can fork Vioquine's translation.
Reject because of missing random tests. If you want to improve this you can fork Vioquine's kumite.
Reject because of missing random tests. If you want to improve this you can fork this translation.
Sample tests are still unfixed.
fixed
Issue: JUnit uses
assertEquals(expected, actual)
argument order.Since JDK 17
java.util.Random
implements theRandomGenerator
interface which provides default implementations ofnextInt(lo, hi)
for all random classes. NeverthelessThreadLocalRandom
has the nicer prng algorithm.The difference is how you can call this function. The array variant can only be called with an array
while the varargs variant can be called with an array or with separate arguments
and the java compiler will create the array for you under the hood.
Because
i
is already in use. The real question is why don't you usej
? ;-)Loading more items...