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.
Use spoiler flag next time, please.
This comment is hidden because it contains spoiler information about the solution
Most parantheses are unneeded
Looks like you like golf :D
Both braincells were fully activated for sure.
You're not stupid, or maybe I'm stupid the exact same way. :P
Scala translation
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
.
JS translation
I also found the description confusing. Try watching this video, if you watch just half of it, it should be much clearer what is done already.
That's actually correct (although it's important to note that you need to return the last integer number you calculated, but I think that's clear from the tests.). What I suspect that might be your mistake is not returning to the beginning of the array, once you did a multiplication. This was the issue in my case at least.
this looks like some hard graph theory
@1989andres: yes.
Loading more items...