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.
Enter gigachad meme
you can use Math.min(
array) this way instead of apply
I think he simply clicked the
Ctrl+?
shortcut combination to comment all the highlighted lines and never typed any//
Great idea to subtract max and min from the total sum. Clever solution!
This comment is hidden because it contains spoiler information about the solution
Using apply in this way blew my mind :D
Clever solution
How about reduce instead of for? Does it affect performance or..?
You can use '/* [comment] */' to leave comments that span multiple lines without having to to type // at the beginning of each line.