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.
Looks like you may need to consider illegal leading and trailing characters.
That's right, it's supported by most modern compilers like gcc and clang but not vc++ for example.
This comment is hidden because it contains spoiler information about the solution
Oh yes, thanks.
There's a test case where the argument is an
int
.I think the op is assuming the tests don't go to 10000.
Compare the first and second run times of a passing solution:
Yes, with memoization.
This comment is hidden because it contains spoiler information about the solution