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.
This comment is hidden because it contains spoiler information about the solution
I already wrote the entire triangle with spaces, etc. before I realized that only the vertex of the triangle is required to complete the task :)
Thanks for this kata. I think it would be a good kata if the input integer could be anything other than positive. Especially for JavaScript, because JS doesn't have native method for integer division, but the "floor" method rounds negative integers in a non-obvious way (Math.floor(-99.01) == -100).
I spent too much time before I deleted the semicolon :)