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.
Be careful about list of empty string:
Arrays.asList("")
andnew ArrayList<String>()
will be displayed in the exact same way in the assertion messages, while they are clearly not equal.You won't be giving away possible solutions.
If you click this checkbox:
then it will hide your comment from people who haven't solved the kata.
Language: Java;
I am getting this output on the sample tests. I have passed the first few assertions but seem to hang up on cases where there arent the correct amount of words in the input. I am not sure why and would greatly appreciate any help.
expected: java.util.Arrays$ArrayList<[]> but was: java.util.Arrays$ArrayList<[]>
I didnt say because I do not want to give away possible solutions.
I will print the input not sure why that didn't occur to me. Thanks.
Try printing the input and figuring out why. I don't know why your code doesn't pass, you don't even say, but your code can be wrong or be inefficient and then only passes the sample tests and not the full suite.
this is a general question:
I am passing the sample test but not the full test. How do I go about reaching the correct solution? If I could see the tests I can understand why I am failing but all I see is the expected and actual output.
I have attempted to read the stack track but to me it is gibberish(because I do not understand it).
I am not saying there is an issue with this kata however, I would greatly appreciate any advice/assistance because I run into these issues regularly.