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.
great work my friend using while
there's no need to check n equal 5, 7 & 11 in 2nd if. As it's already covered in for loop iterations.
Not declaring variables is bad practice
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
you code very well 100/100
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
@CodedVortex thank you for this explanation, I didn't know that using
Array
was not best practice.Barring when it is not used correctly, does the literal notation have any performance benefits over calling the constructor? (i.e. any time/space-related metrics.)
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
This comment is hidden because it contains spoiler information about the solution