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 exactly the same issue.
Any tips or tricks will be appreciated.
Same here.i dont know why..error info>> expected: but was:
Turns out I actually had a bug in the code
Same here. Both example arrays in the introduction and all three test cases will pass with my solution, but I am receiving an error on submission.
Could someone take a look at my Java translation? I used some of my C++Fu, but I'm not sure whether the tests and/or code are idiomatic Java.
No one has translated this kata to Java yet, an I'm not proficient enough to provide a well written translation myself. EDIT: I've tried to translate the kata to Java, but I would like to get a second opinion before I add it.
range
uses too much memory (it generates a list). Have a look atxrange
or try another approach that doesn't eat all memory.When I run the tests, both of them pass, when I try to submit, it reports that 1 of them has failed. Is there a bug in the system?
This comment is hidden because it contains spoiler information about the solution
Why can't I do this one in Java?