Question d’entretien chez Workday

Code how to do a pre-order traversal in Java