Checking critertia in else if block

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