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.
Like the others said using just n/10 will give you an infinite loop because you are always checking the original n%10===0 condition for the same number so the loop will always get true.
This comment is hidden because it contains spoiler information about the solution
Thank you for this. I looked at the disourse section because I couldn't make sense of the task. I even tried to research the painted cube problem to no avail :D
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
okay this is great!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
why would you use let for constant values?
this is awesome :D
I actually went with the 2 reduce within the for loop. This is so much better! Kudos!