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.
Nice kata to practice with sorting)))
Good kata to figure out how to calculate numbers!
Try to solve it with O(n) or better efficiency.
Nice kata!!!
If your code doesn't pass all of the tests, read task more clearly. Don't be in hurry, think twice before writing anything :)
Very good kata to practice in data structures! Thank you)))
Very good kata to practice with pointers and references! Thank you)
To say the truth, I would not recommend spending a lot of time solving this kata if your goal is to improve programming skills rather than math.
You shouldn't write nested loops because it increases Big O notation(from O(n) to O(n*n)).
That was very interesting that asList() in tests returns another ArrayList.
I had so many problems because of it.:(
Try not to think that it is hard.
I suggest to solve it in another variable(not in given as it types at the beginning)