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.
I agree
Yep, math prevails
What do you mean?
This is an easy kata, I feel like I remember solving a 8kyu version of this same. exact. problem...
Take a look at the top solutions
How is this 7kyu...
This is not a 7kyu kata...
why semicolon on line 3, when you declare the tot_occur variable?
how is this clever?
Google search
can someone explain how this works exactly??
Why stopping at that function? Remove all built-in functions and use the bare language lol
You could argue that it's useful to know that's a thing.
i love lambda
In this case no. Basically, my method divides x by factors starting from i to x as long as x / i is an integer. The output format is in descending order, and my input will produce that order since we start from x / 1, then x / 2 and etc.
but doenst it need to be reversed?
Loading more items...