Question d’entretien chez Amazon

How to traverse this binary tree?