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.
Yes, with pleasure. Or i will try at least.
With your variable "value" you only check if all opened "(" parentheses were closed with ")", right?
But there some tests that might start with ")" e.g. ")()(". Thus your variable will have value 0, wich means that your method returns true. However you cannnot close ")" a non-opened "(" parentheses.
If you are coding in js you can use / console.log( parens ) / method to see all the tests.
Hope it was helpfull:)
found my mistake and completed this kata.
This comment is hidden because it contains spoiler information about the solution
I think, it is just a pseudocode. He just described how he would implement it, without actually implementing the function.