CodePudding user response:
Subject logic has a problem, when you push_back before, must first determine whether the top of the stack and his match, rather than directly into the push_backCodePudding user response:
Subject logic has a problem, when you push_back before, must first determine whether the top of the stack and his match, rather than directly into the push_back