Qualtrics interview question

Evaluate an binary expression tree