i4 Insight interview question

Implement Reversed Polish Notation Algorithm in Python,