I'm having trouble passing the tests because of the time. My solution is based on the assumption that the first parenthesis must be "(" and then deciding what options are possible next. With n = 11 it's ok 1s, but for 12 it's already a lot
Can you give an example of tape and code with nested brackets?
I don't understand what the situation is. My code works except with nested brackets.
Thanks
I'm having trouble passing the tests because of the time. My solution is based on the assumption that the first parenthesis must be "(" and then deciding what options are possible next. With n = 11 it's ok 1s, but for 12 it's already a lot
This comment is hidden because it contains spoiler information about the solution
Can you give an example of tape and code with nested brackets?
I don't understand what the situation is. My code works except with nested brackets.
Thanks