By using Stack data structure, we can easily convert "Infix to Postfix" and "infix to Prefix" but I can't c开发者_如何学Pythononvert Prefix to postfix.
yes, we can convert prefix to infix then infix to postfix. but I want direct conversion from prefix to postfix.
Is there any feasible solution (not expression tree) ?
精彩评论