Pregunta de entrevista de Aman

how does decision trees work?