Question d’entretien chez Amazon

2) parse and compute a string in reverse polish notation