All Questions
3 questions
6
votes
2
answers
20k
views
why use postfix /prefix expression instead of infix?
I understand how to convert infix to postfix/prefix but I do not understand why postfix or prefix expression are used in computer system?
What is the advantage of postfix prefix over infix expression?...
1
vote
7
answers
6k
views
Algorithm for recursive evaluation of postfix expressions
I'm reading Sedgewick's book on algorithms in C and I'm looking for an algorithm to evaluate postfix expressions (addition and multiplication only) without using a stack. I tried to implement one but ...
57
votes
15
answers
7k
views
Why do we have postfix increment?
Disclaimer: I know perfectly well the semantics of prefix and postfix increment. So please don't explain to me how they work.
Reading questions on stack overflow, I cannot help but notice that ...