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.
best solution !
great solution my friend
It's a very good solution.
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!
No check for -ve?
perfect examples of a simple problem solved with something that is really not worth trying to understand
yes, when there's only one statement to execute
Use spoiler flag next time please, your post was visible in the homepage.
This comment is hidden because it contains spoiler information about the solution
Nice solution but mine better haha :)
Loading more items...