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 you explain how did you derive p and where does 210 come from? Thanks!
Can you please explain the solution?
Can you explain the math behind it?
Nice one, I like the clean use of comparators
Definitely not a 5kyu, 7 at most.
This is actually really bad solution, you should never iterate over array 3 times if you can do it once. You should know when to use functional programing and when just a simple for loop.
Nice one, although you don't need to iterate if the string doesn't start with "(", ends with ")" or its length is odd, just a small improvement for some cases.
This comment is hidden because it contains spoiler information about the solution