Balanced parenthesis problem


This is showing st to be undeclared.please help.

hello @srshubhi398
declare ur stack out of for loop.