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.
time complexity is O(n)
Good kata.
I propose creating an version for 1kyu, by adding "[...]", quantifiers {m,n}, non greedy "*+?", escaping, multiple "or", and lookaheads "(?=...)/(?!...)"
[ab^cd]: new Chars('ab', 'cd')
regex{m,n}: new Times(regex, m, n)
etc
Yes, this is not "code challenge".
Solving this problem is only an idea (in the form of a set of 3*m integers), and it does not matter how it will be framed. The length of the array also has no special meaning. 99 is enough to find the common idea for any odd length, not to use brute force.
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