Klarna Interview Question

reverse polish notation