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.
Description updated.
Fixed.
I really don't want to play with input types and all that stuff to make it more fluffy (in some ways) at least at this point.
Thanks for feedback.
The Kata description is not perfect, I agree with it. But I'm not sure which approach is better for description (add more visual info / describe the steps in details)?! Anyway the Kata need more views and tests, etc. to minimize the changes and maximize the quality.
Incorrect mean that the laser will never intersect with such ones.
I will clarify it in description too.
Your solution fails on cases where parens not sorted in the usual way.
Ex: [')()()()(']
['())(']
So it's not enough to find equal amount of parens.
This Kata was completed over 4000 times in C#, so the sample/random test cases are fine.
The amount of random test cases should be increased due the Kata rank.