Can anyone help me to convert an infix expression to a prefix expression?
It should be using stacks, not binary trees.
I just need the algorithm and I'll code it myself.
I'll be glad if someone can tell me the algorithm since it's nowhere to be found.