Question d’entretien chez Savant Degrees

Algorithm based question is, find the depth of tree