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
many of them are not in order.
ex:
[50, 19, 19], [44, 17, 15], [4, 54, 5], [33, 11, 24], [69, 11, 15], [77, 12, 27], [35, 39, 13], [90, 44, 18], [31, 8,22], [22, 30, 7], [94, 16, 25], [84, 37, 18], [84, 19, 23], [9, 45, 21], [61, 18, 9], [93, 50, 25], [10, 21, 17], [65, 26, 3], [39, 31, 6] ]
as for the description, it says
Note: c will always be the largest value in the array, whereas a and b can be either of the 2 remaining values.
Further ex. arrays (from python):
In sorted order.
And yes, I mean to pass e.g.
[3, 5, 4]
instead of[3, 4, 5]
. But then the java version should be also updated, along with the description that currently says:Cheers
ex arrays:
[69, 11, 15], [77, 12, 27],[12, 16, 20]
what do you mean by random order. do you mean that the a,b, and c in the array are in order from smallest to largest?
If this is what you mean, then yes, it is in a random order.
The python version can be easily updated to provide the integers in random order (just shuffle the array before passing it on).
I can't help with java, unfortunately (but it looks messy, too...)
the numbers were in random order when I wrote the kata, but someone edited it out.
I have now updated the instructions.
I agree, this could be a bit more challenging - but still simple enough - if you provide the integers in a random order; and also agree that the return should be a boolean.
Although these should be "suggestions", not "issues".