Here is an infix expression: 4 + 3(63-12). Suppose that we are using the usual stack algorithm to convert the expression from infix to postfix notation. The maximum number of symbols that will appear on the stack AT ONE TIME during the conversion of this expression?
here th ans should be 3 as + will get into stack then ( then - and then as ‘)’ comes it will start popping so max elements stored in stack is 3 i.e “+ ( -”