Solve Expression and Tree-List Problems | Pinterest Interview Question