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.
As far as widespread full stack goes, it depends on what the aim of the code is. If you're collaborating, then no, as the program can be unreadable and leaving comments as insurance is too timeconsuming. In the end, we usually try to find a reasonable balance between using concise syntax and structure while the code is still easily readable to a third party. But when in comes to more specialized areas I don't have the experience to say so I guess it's possible.
thanks for showing this awesome functional approach
Love this use to spreading strings to arrays!
Only Safari browser actually supports tail optimization, so it is better to think that JS does not support it at all.
This comment has been deleted.
JS does support tail call optimization. This solution however is not tail recursive, so will eventually cause a stack overflow if n is sufficiently large.
Thank you.
I'm not familiar enough with JS to confirm if this is good practice, in the sense that :
nice
This comment is hidden because it contains spoiler information about the solution
This has not been addressed. At all.
Your random tests are still vulnerable to input modification.
This solution should not be valid.
Ehm .. how?
I'm not seeing it.
Yes, I refreshed.
Thanks! fixed it
sick!!
This.
Changing properties of input arguments will have the test process those modified inputs, because they're reused blindly.
Loading more items...