Balanced parenthesis

in balanced parenthesis video, we r using array to store parenthesiis, arent we popping out elements while backtracking??
if we would hv used stack to store parenthesis, we would hv explicitly mentioned the pop out function while backtracking
im not able to imagine the solution in case of array

hi @agsa733_07f951d91d203133, yes you would have to pop back explicitly

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.