Amazon interview question

How do decision trees classify