Gramener interview question

Explain how decision tree nodes are created