in the else if structure do we need to check s.top()!=’(’ ? since we are only adding ( to the stack so either the stack is empty or it has a ( to be paired with?
Checking critertia in else if block
hello @
for this problem its redundant
in the else if structure do we need to check s.top()!=’(’ ? since we are only adding ( to the stack so either the stack is empty or it has a ( to be paired with?
hello @
for this problem its redundant