Simply interview question

Implement logic to evaluate a mathematical expression represented as a binary tree, where each node is either an operator or an operand.