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.
Oh dear. I think my brain just... asploded.
Here's a oneliner for you
@hobo
. :P( OK, morally it's two lines. )
Fewer lines != more speed
Sometimes more lines perform better.This comment is hidden because it contains spoiler information about the solution
ahhh ok. Thankyou, Ill give it another try :)
You need more lines of code, four is not enough :)
Your problem is that you are looping up to
n
. This kata can be solved in a better way by applying some particular theorem.This comment is hidden because it contains spoiler information about the solution