TDD Problems

All problems‎ > ‎

Convert Infix expression to Postfix form

Given an expression in infix form (operators appear inline in the expression) like
3 * (2 + 5)
Transform it to its postfix equivalent
3 2 5 + *

Hint:
Brown B.(2001) Postfix Notation Mini-Lecture. Retrieved on (Feb 4, 2009) from:
http://www.spsu.edu/cs/faculty/bbrown/web_lectures/postfix/