Ad
  • Custom User Avatar

    I improved the assertion messages for Java so now this should be more clear.

  • Custom User Avatar

    enough suffering... kill the loops... giving up before googling the master formula that im sure is over there... but i really like the challenge. Congrats!
    .. btw I reach a solution not good enough for the extreme case in ejecution time...

  • Custom User Avatar

    for Java, I think there is a problem with casting the correct type:
    I´ve got two possible outputs for the kata that correctly passes the test cases in the IDE, but both of them returns:

    expected: java.util.Arrays$ArrayList<[]> but was: java.util.ArrayList<[]>

    expected: java.util.Arrays$ArrayList<[]> but was: java.util.ArrayList$SubList<[]>

    respectively.

    or even:

    expected: java.util.Arrays$ArrayList<[]> but was: java.util.Arrays$ArrayList<[]>

    I think it should accept those types too. But you tell me, Im just a newby.
    Regards!

  • Custom User Avatar