Question d’entretien chez SAP

find depth of binary tree