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.
your solution is actually the same approach
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Might be an error in your code since everything is working with me. If you post your code I can see what's wrong - format your code here: https://help.github.com/articles/creating-and-highlighting-code-blocks/.
1.) You're putting the array in the 'for' loop, which means it will replace the previous
sumArray
(replacement of the variable). Put it outside the 'for' loop.2.) You don't want to break if they are a multiple of 3 and 5. You should just push this number to the array instead.
Double check your code before you 'mark' that there is an issue.