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 have the same issue with random tests (Golang, wrong order)
@JohanWiltink
Replaced the for loop with what you said. (Yes, the upper bound is exclusive.) Is that enough?EDIT: Marked as resolved for now. Feel free to raise a new issue if it's not fixed.
This comment is hidden because it contains spoiler information about the solution
Thank you timp. Forgive me for my late response. I'll change it in an moment.
Great to hear, that was exactly my intention! :)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thanks again!
It's fixed, if you are satisfied with the test I'll appreciate your message. Thanks for the feedback and for your time solving this kata.
The order matters. It says that if we have two or more sub-arrays, the one that should be output first is the one that appears first in the array in the direction from left to right. The order that you gave is right and mine is wrong. Give me 5 minutes to fix that.
This comment is hidden because it contains spoiler information about the solution
technically you don't, because you don't actually have to call the method loadData to pass the test.
It could just be because I had objects of a deeper level inside it, but, oh, well:
.clone
will solve it all with a minimum increment of complexity.I guess the true reason needs a proper question in StackOverflow or places like that.
Loading more items...