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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
It seems to me that if the constructor is called with a negative integer directly, the local variable can still be made negative, which is against the requirements?
This comment is hidden because it contains spoiler information about the solution
nice solution
In theory, there could be a difference with the other solutions, namely one arr element containing 2 faces would count as two in your solution, but as only one in the other solutions. However, the wanted number is not specified in the 'Details' and it has been mentioned there that the 'order is always the same' although no mention is made regarding repetitions i think.