I am able to understand the infix to postfix, however I am having trouble with putting the parentheses back into the infix if I start with postfix.
Have looked at possibility of using 2 stacks, however I would like to
use only one.
I may not have made it clear.
What I need is to convert it to a fully parenthesized infix expression.
I don't understand how I get the parentheses in right spot