Wolabi interview question

Solve a problem relating to decision tree.