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.
This comment is hidden because it contains spoiler information about the solution
I was feeling clever for using the sum of numbers formula and eliminating the need for an iterative method, but damn that's slick.
My solution is easier to understand. This was a lot like Fizzbuzz.
This comment is hidden because it contains spoiler information about the solution
tbh i dont know abt this
Totally forgot about this, never occured to me that i could use this.
good
Unbelievable
checks for negative numbers
empty string + number (passed to the function), it's a clever way to force the input to be a string, hes not necessarily "converting"
Cool solution! You can also store the number of terms on a variable to make the return statement more concise. Also, min and max can be const since they aren't changed/reassigned.
Ooops, killed my solution!
damn, my math skills are weak
damn i'm stupid
damn, i forgot about this
Loading more items...