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.
solved by OP, closing
Read carefully the error message you get, the answer is in there. It's a pain to dig into that stuff (moreover in java...) but you definitely need to learn how to extract useful information from that.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Hi. It's a problem with your code, and not KATA itself.
Before posting issues, have a look in description to see how many times it's been completed (in this case, 3673 java completions). This is a good indication that tests are correct.
When you hit submit, there's more random tests run that you can't see, but you can print the inputs with System.out.println(Arrays.toString(array)), for example.
Note that array isn't always with 3 elements. Sometimes it's 2 numbers, sometimes 5.
So, no, your solution is NOT correct, but I can't really say much more without seeing where and how it fails, or without seeing your code...