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.
can someone explain what is going on here?
This comment is hidden because it contains spoiler information about the solution
imagine having 1! through 12! memorized and walking into this interview question and being like... do you want me to refactor this to O(1) ?
This comment is hidden because it contains spoiler information about the solution
Can someone tell me what is going on in this solution?
This kata fails to provide appropriate guidance around how to treat the rounding of numbers representing people, since a number of people is always a whole number.
Why does this work?