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 added sample test cases for JavaScript.
I have translated this kata for R. Feel free to check it out here.
Yeah ok solvable but this kata has no clear formulation, and no test cases. This is IMO below the minimum for an acceptable kata. Or at least not at 8kyu, would cause only frustration for many if an early kata.
Requires returning, rather than printing.