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.
Thanks @o2001!
Thanks for your clarification!
Curious why you spread the input since it's a string and you could just split it right?
Or, like me, you wherent sure the input is a string or array (question wasn't too clear on that)?
This comment is hidden because it contains spoiler information about the solution
it's good
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Haven't thought about that. Nice solution!
yeah but the problem was too
This comment is hidden because it contains spoiler information about the solution
That feeling when you submit the identical answer as a 1 dan :)
The shortness isn't the main benefit. The "n" value might be "null" or "undefined" as instance so an exception will be raised for the best. This solution is more safefull. However we can get unexpected results: 9 for "undefined" and 4 for "null".
That's even shorter than the best of
Best Practices
! Neat!no but cant see a pattern or any description.
very awesome!
Loading more items...