2

By using Stack data structure, we can easily convert "Infix to Postfix" and "infix to Prefix" but I can't convert 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) ?

Manishearth
  • 14,882
  • 8
  • 59
  • 76
SIVA
  • 439
  • 2
  • 7
  • 13
  • This question is not home work and I am not a School Boy or College guy. Jonathan, why you asking like this " Is this a homework problem? " – SIVA Feb 17 '10 at 15:04
  • because it sounds like a homework problem. And the answer is usually chapter 1 in any compiler book. – Aiden Bell Feb 17 '10 at 15:06

0 Answers0