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.
I improved the assertion messages for Java so now this should be more clear.
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...
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!
Jajaja Nice!