Ad
  • Custom User Avatar

    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<[]>

  • Custom User Avatar

    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.

  • Custom User Avatar

    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.