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.
Same here! I'm used to Python and just finished a Java crash course. Went straight here so I could learn all the different methods I could use.
Surely replacing the return function with just setting the result to the function name isn't best practice?
The only right answer :)
I'm pretty sure this is satirical
I mean that wasn't in the specification so not really necessary
I mean, you're not wrong
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Wow, my fingers could never -
This comment is hidden because it contains spoiler information about the solution
This site is meant for learning. By doing this, people learn new things like libraries
It looks clean, but making a variable called sum and mutating the input isn't best practice
I like how there's no 'else' here.
Mine isn't a one-liner and on average runs around 2800ms
better readability
Loading more items...