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.
ball_type
is a method, not a property.Also, OP solved it, closing
If a compiler / interpreter does TCO, a recursive implementation can be asympotically just as fast and just as small as an iterative implementation.
If you're judging this purely on raw speed, you haven't understood the concept of "Best Practice" anyway.
Duplicate issue.
This comment is hidden because it contains spoiler information about the solution
Fixed
you don't technically need the parenthasis either when you have no argument to pass. so title.capitalize.split.map would be just as operational here.
It expects string undefined rather than actual undefined (see the quotes around the expected undefined).
Not if you use trampolining or lazy evaluation. But well, those are pretty advanced techniques.
This comment is hidden because it contains spoiler information about the solution
You're right. I was thinking in 2%0. It's useless.
0 can be divided by any numbers so I don't think "number + 2" would do anything useful here.
It is the same as split(" ") and split
This comment is hidden because it contains spoiler information about the solution
Hi, it could be an infinitive loop, try to debug it. Does it occur for each tested string?
This comment is hidden because it contains spoiler information about the solution
Loading more items...