Base CRM interview question

Write a code for reverse polish notation