I tried to solve this kata yesterday, submitted a solution which passed all the tests and got some honor points.
But today, I thought to myself that my solution would reject the follwing type of valid braces : "([{([{([{([{}{()}{}])}{()}{}])}{()}{}])}([{}{()}{}]){(([{}{()}{}]))}{([{}{()}{}])}([{}{()}{}])])". And I was right.
I have just added this case to my sample tests and updated my solution.
Hi,
Impossible, sadly: this kata has too many completions already and the tests are locked.
Hello,
I tried to solve this kata yesterday, submitted a solution which passed all the tests and got some honor points.
But today, I thought to myself that my solution would reject the follwing type of valid braces : "([{([{([{([{}{()}{}])}{()}{}])}{()}{}])}([{}{()}{}]){(([{}{()}{}]))}{([{}{()}{}])}([{}{()}{}])])". And I was right.
I have just added this case to my sample tests and updated my solution.
Could you please update the kata test cases, too?
Thank you very much,
Ekaterina