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.
What do you mean?
Hey , I just wonder how can you calculate the complexity formula?
It does not meet the condition: "An empty array should be treated like a 0 in this problem". Although it is not a well phrased statement.
It can't be best practice. It's have O(N^2) complexity, when this can be solved in O(N).
It can't be best practice. It's have O(N^2) complexity, when this can be solved in O(N).