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.
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.This comment is hidden because it contains spoiler information about the solution