Given a string prefix expression, convert it to the corresponding postfix expression.
- A prefix expression is one where the operator precedes its operands. For example, "*+AB-CD" corresponds to the infix expression "(A+B) * (C-D)".
- A postfix expression is one where the operator follows its operands. For example, "AB+CD-*" corresponds to the same infix expression "(A+B) * (C-D)".
Ask AI Assistant

Ask AI Assistant
Ask me anything about this coding question!
Test Cases
Input
Output
Expected