Amazon Interview Question

How do decision trees classify