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.
Should have had
The orignal will be left forever joining an infinite stream of empty lists, when there are no more polydivisible numbers available.
You should add more edge cases to the tests, such as adjacent parallel edges and zero-length edges.
Random tests are producing false negatives:
This seems to assume that there are no characters after any closing parenthesis. The specification only mentions the last closing parenthesis.
This comment is hidden because it contains spoiler information about the solution
How is this a best practice with an exponential running time and memory consumption?