Question d’entretien chez Amazon

Basic Calculator problem from Leetcode