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.
PHP reference
That's pretty nifty. I'm going to copy that and use the integer division and see how that fares
You don't need to
apply map
here. Map will pass progressive values accross multiple lists, so long as the function accepts the requisite number of arguments.Contrived example, but should illustrate the point.
I love it when digits explode
n means an integer, in all computer science literature and mathematical prose. You're note adding any useful information by spelling it out.
Recursive call not in tail position.