Evaluate Postfix, is a Stack related problem and in this post we will see how we can solve this challenge in C++

evaluate postfix expression start scanning: if the char is operand : push into the stack else if it is operator: pop operands from the stack , apply the operator to them and push the result pop the stack element

Please check the main.cpp snippet for the solution.

This solution originally posted at: Github by @susantabiswas