Please provide some hint

Please tell me the approach to this problem.

@kodivine0
(https://www.geeksforgeeks.org/expression-contains-redundant-bracket-not/)

https://ide.codingblocks.com/s/296152 please check my code

@kodivine0 its giving wrong for sample case dry run it

i know sir, i have written the same code u provided me in the link.

@kodivine0 in this question (b) this is also allowed so just one change corrected


dont forget to hit like and mark resolved if cleared :smiley: