开发者

How can we convert Prefix to Postfix expression ( without using expression tree)?

开发者 https://www.devze.com 2022-12-20 22:20 出处:网络
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.

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) ?

0

精彩评论

暂无评论...
验证码 换一张
取 消